Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Update Usage FAQ to reflect new behaviour #8897

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 3 commits into from
Aug 10, 2017
Merged

Conversation

vab9
Copy link
Contributor

@vab9 vab9 commented Jul 16, 2017

The interactive example in the Usage FAQ was outdated. The change reflects new behaviour since version 1.5. See Issue #8883 for more details.

# methods, then when you want to update the plot on the screen,
# you need to call :func:`~matplotlib.pyplot.draw`::
# If you are using certain backends (like `macosx`), or an older version
# of matplotlib, you may not see the new line added to the plot immediately.
Copy link
Member

Choose a reason for hiding this comment

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

There is trailing whitespace on this line

[gw0] linux -- Python 3.6.1 /home/travis/build/matplotlib/matplotlib/venv/bin/python
/home/travis/build/matplotlib/matplotlib/tutorials/01_introductory/usage.py:554:77: W291 trailing whitespace
# of matplotlib, you may not see the new line added to the plot immediately.
                                                                            ^

@tacaswell
Copy link
Member

@vab9 I took the liberty of fixing the whitespace.

@dstansby
Copy link
Member

Rebased on to master to make circleci work, all looks good to me though, thanks for the PR @vab9 👍

@dstansby dstansby added this to the 2.1 (next point release) milestone Aug 4, 2017
vab9 and others added 2 commits August 6, 2017 15:41
The [interactive example](https://matplotlib.org/faq/usage_faq.html#interactive-example) in the Usage FAQ was outdated. The change reflects new behaviour since version 1.5. See Issue matplotlib#8883 for more details.
Remove trailing whitespace.
# plot. Get a reference to the :class:`~matplotlib.axes.Axes` instance, and
# call a method of that instance::
# and you will see the plot being updated after each line. Since version 1.5,
# modyfing the plot by other means *should* also automatically
Copy link
Member

Choose a reason for hiding this comment

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

Typo: modifying

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants