-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
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
Conversation
Added a note at the top of the page clarifying that the examples assume you're working jupyter.
Looks like there's an (unrelated) doc build failure, will revisit this later once that's fixed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @tpackard1 , I downloaded the artifact and can confirm this renders fine
Hi @MarcoGorelli @tpackard1 , should we also mention the We can probably copy and paste from a push I made on my fork. |
I think that looks good, thanks - at this point I think the simplest thing would be for you to suggest changes on this PR, so then you'll end up as co-committer In the future, please comment |
.. note:: | ||
|
||
The examples below assume that you're using `Jupyter <https://jupyter.org/>`_. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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. | |
There was a problem hiding this comment.
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)
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
* Update visualization.rst Added a note at the top of the page clarifying that the examples assume you're working jupyter. * Update doc/source/user_guide/visualization.rst * capitalise Jupyter Co-authored-by: Marco Edward Gorelli <[email protected]>
Added a note at the top of the page clarifying that the examples assume you're working jupyter. @MarcoGorelli asked to be tagged to this PR. Hopefully I did everything correctly as this is my first PR.
doc/source/whatsnew/vX.X.X.rst
file if fixing a bug or adding a new feature.