8000 DOC: Add streamplot description to what's new. · matplotlib/matplotlib@73f2b0e · GitHub
[go: up one dir, main page]

Skip to content

Commit 73f2b0e

Browse files
committed
DOC: Add streamplot description to what's new.
1 parent dda4ab6 commit 73f2b0e

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

doc/users/whats_new.rst

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,21 @@ To temporarily use RC parameters::
113113
>>> ...
114114

115115

116+
Streamplot
117+
----------
118+
119+
Tom Flannaghan and Tony Yu have added a new
120+
:meth:`~matplotlib.pyplot.streamplot` function to plot the streamlines of
121+
a vector field. This has been a long-requested feature and complements the
122+
existing :meth:`~matplotlib.pyplot.quiver` function for plotting vector fields.
123+
In addition to simply plotting the streamlines of the vector field,
124+
:meth:`~matplotlib.pyplot.streamplot` allows users to map the colors and/or
125+
line widths of the streamlines to a separate parameter, such as the speed or
126+
local intensity of the vector field.
127+
128+
.. plot:: mpl_examples/pylab_examples/streamplot_demo.py
129+
130+
116131
.. _whats-new-1-1:
117132

118133
new in matplotlib-1.1

0 commit comments

Comments
 (0)
0