Skip to content

DOC: Plotting / Visualization without Jupyter #47948

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Aug 9, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions doc/source/user_guide/visualization.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@
Chart visualization
*******************


.. note::

The examples below assume that you're using `Jupyter <https://jupyter.org/>`_.

Copy link

@nwoodweb nwoodweb Aug 6, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
If one is implementing a script or is executing the Python interpreter
from a command line interface, one may opt for ``plt.savefig('$filename')``
in lieu of the ``$object.plot()`` functions found in this tutorial.
``plt.savefig()`` saves the pandas object as an image and accepts a variety
of filetypes, including png, pdf, jpg, and svg.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't quite right, there's a button to press to suggest changes, check the article I linked (step 6)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMO I don't think this note is entirely necessary. Since the rest of the documentation mentions using the matplotlib API, I think further matplotlib actions can be independently looked-up by the user.

Copy link
Member

@MarcoGorelli MarcoGorelli Aug 9, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a good point - let's keep as-is then and land this

This section demonstrates visualization through charting. For information on
visualization of tabular data please see the section on `Table Visualization <style.ipynb>`_.

Expand Down