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

Skip to content

Fix example of streamplot start_points option #6672

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
Jul 3, 2016

Conversation

afvincent
Copy link
Contributor

1/ Change the docstring, which was copy-pasted from the other example streamplot_demo_features, for something that should be more relevant and descriptive.

2/ Change fig0 and ax0, for only fig and ax as they are the only instances. My guess is that the previous names were just a copy-pasting result too.

3/ I don't know why, but the vector field in this example was different from the one used in all the other streamplot examples: it was mode of simple horizontal streamlines. I copy-pasted the vector field from streamplot_demo_features and added a few new seeds. The result seems more demonstrative to me: in the former example, one of the starting points was used to draw a very (very) short streamline, which puzzled me when trying to understand what the example was demonstrating.

The new example looks like:
modified_examples_streamplot_start_points

@tacaswell tacaswell merged commit d4e3765 into matplotlib:master Jul 3, 2016
@QuLogic QuLogic added this to the 2.1 (next point release) milestone Jul 3, 2016
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