8000 Return arrow collection as 2nd argument of streamplot. by tonysyu · Pull Request #803 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

Return arrow collection as 2nd argument of streamplot. #803

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
Sep 2, 2012
Merged
Changes from 1 commit
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
Prev Previous commit
DOC: Add note about future changes to return value
  • Loading branch information
tonysyu committed Sep 2, 2012
commit a7248d989bf17c93afc2c956ef566ab5eede3e2a
3 changes: 3 additions & 0 deletions lib/matplotlib/streamplot.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ def streamplot(axes, x, y, u, v, density=1, linewidth=None, color=None,
lines : `matplotlib.collections.LineCollection` of streamlines
arrows : collection of `matplotlib.patches.FancyArrowPatch` objects
repesenting arrows half-way along stream lines.
This container will probably change in the future to allow changes to
the colormap, alpha, etc. for both lines and arrows, but these changes
should be backward compatible.
"""
grid = Grid(x, y)
mask = StreamMask(density)
Expand Down
0