-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
DOC: add semicolons to suppress text repr of matplotlib objects in visualization.rst #36043
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
add semicolons (";") after the plotting function to suppress unnecessary debug messages similar to: <matplotlib.axes._subplots.AxesSubplot at 0x7fe278bb5160>
Is there a more generic way to do this? I think this is distracting for end users |
FWIW, I've seen this quite frequently in tutorials |
We indeed already do it in several places in visualization.rst itself (see https://pandas.pydata.org/docs/dev/user_guide/visualization.html), so this is making it more consistent. |
@@ -286,10 +286,10 @@ subplots: | |||
|
|||
.. ipython:: python | |||
|
|||
plt.figure() | |||
plt.figure(); |
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.
Is this plt.figure() actually needed?
This pull request is stale because it has been open for thirty days with no activity. Please update or respond to this comment if you're still interested in working on this. |
@partev can you merge master and we can get this in |
@jreback done |
thanks @partev @jorisvandenbossche has a comment from above if you can have a look |
add semicolons (";") after the plotting function to suppress unnecessary debug messages similar to:
<matplotlib.axes._subplots.AxesSubplot at 0x7fe278bb5160>
black pandas
git diff upstream/master -u -- "*.py" | flake8 --diff