You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -77,12 +77,12 @@ Jake Vanderplas' JSAnimation package has been merged into matplotlib. This
77
77
adds to matplotlib the `~matplotlib.animation.HTMLWriter` class for
78
78
generating a javascript HTML animation, suitable for the IPython notebook.
79
79
This can be activated by default by setting the ``animation.html`` rc
80
-
parameter to ``jshtml``. One can also call the ``anim_to_jshtml`` function
81
-
to manually convert an animation. This can be displayed using IPython's
82
-
``HTML`` display class::
80
+
parameter to ``jshtml``. One can also call the
81
+
`~matplotlib.animation.Animation.to_jshtml` method to manually convert an
82
+
animation. This can be displayed using IPython's ``HTML`` display class::
83
83
84
84
from IPython.display import HTML
85
-
HTML(animation.anim_to_jshtml(anim))
85
+
HTML(animation.to_jshtml())
86
86
87
87
The `~matplotlib.animation.HTMLWriter` class can also be used to generate
88
88
an HTML file by asking for the ``html`` writer.
@@ -107,7 +107,10 @@ path.
107
107
CheckButtons widget get_status function
108
108
---------------------------------------
109
109
110
-
A :func:`get_status` function has been added the :class:`matplotlib.widgets.CheckButtons` class. This :func:`get_status` function allows user to query the status (True/False) of all of the buttons in the CheckButtons object.
110
+
A :func:`~matplotlib.widgets.CheckButtons.get_status` method has been added the
111
+
:class:`matplotlib.widgets.CheckButtons` class. This ``get_status`` method
112
+
allows user to query the status (True/False) of all of the buttons in the
113
+
``CheckButtons`` object.
111
114
112
115
113
116
Abstract base class for movie writers
@@ -123,7 +126,7 @@ from the new abstract base class.
123
126
Add fill_bar argument to ``AnchoredSizeBar``
124
127
--------------------------------------------
125
128
126
-
The mpl_toolkits class
129
+
The ``mpl_toolkits`` class
127
130
:class:`~mpl_toolkits.axes_grid1.anchored_artists.AnchoredSizeBar` now has an
128
131
additional ``fill_bar`` argument, which makes the size bar a solid rectangle
129
132
instead of just drawing the border of the rectangle. The default is ``None``,
@@ -138,44 +141,50 @@ rectangle for the size bar.
138
141
Annotation can use a default arrow style
139
142
----------------------------------------
140
143
141
-
Annotations now use the default arrow style when setting `arrowprops={}`,
144
+
Annotations now use the default arrow style when setting ``arrowprops={}``,
142
145
rather than no arrow (the new behavior actually matches the documentation).
143
146
144
147
145
148
Orthographic projection for mplot3d
146
149
-----------------------------------
147
-
:class:`~mpl_toolkits.mplot3d.axes3d.Axes3D` now accepts ``proj_type`` kwarg and has a method :meth:`~mpl_toolkits.mplot3d.axes3d.Axes3D.set_proj_type`. The default option is ``'persp'`` as before, and supplying ``'ortho'`` enables orthographic view.
150
+
:class:`~mpl_toolkits.mplot3d.axes3d.Axes3D` now accepts ``proj_type`` keyword
151
+
argument and has a method :meth:`~mpl_toolkits.mplot3d.axes3d.Axes3D.set_proj_type`.
152
+
The default option is ``'persp'`` as before, and supplying ``'ortho'`` enables
153
+
orthographic view.
148
154
149
155
150
156
``voxels`` function for mplot3d
151
157
-------------------------------
152
-
:class:`~mpl_toolkits.mplot3d.axes3d.Axes3D` now has a ``voxels`` method, for
153
-
visualizing boolean 3d data. Uses could include plotting a sparse 3D heat map,
154
-
or visualizing a volumetric model.
158
+
:class:`~mpl_toolkits.mplot3d.axes3d.Axes3D` now has a
159
+
`~mpl_toolkits.mplot3d.axes3d.Axes3D.voxels` method, for visualizing boolean 3d
160
+
data. Uses could include plotting a sparse 3D heat map, or visualizing a
161
+
volumetric model.
155
162
156
163
157
164
Barbs and Quiver Support Dates
158
165
------------------------------
159
166
160
-
When using the :func:`quiver` and :func:`barbs` plotting methods,
161
-
it is now possible to pass dates, just like for other methods like
162
-
:func:`plot`. This also allows these functions to handle values
163
-
that need unit-conversion applied.
167
+
When using the :func:`~matplotlib.axes.Axes.quiver` and
168
+
:func:`~matplotlib.axes.Axes.barbs` plotting methods, it is now possible to
169
+
pass dates, just like for other methods like :func:`~matplotlib.axes.Axes.plot`.
170
+
This also allows these functions to handle values that need unit-conversion
171
+
applied.
164
172
165
173
166
174
Hexbin default line color
167
175
-------------------------
168
176
169
-
The default ``linecolor`` kwarg for :func:`hexbin` is now ``'face'``, and
170
-
supplying ``'none'`` now prevents lines from being drawn around the hexagons.
177
+
The default ``linecolor`` keyword argument for :func:`~matplotlib.axes.Axes.hexbin`
178
+
is now ``'face'``, and supplying ``'none'`` now prevents lines from being drawn
179
+
around the hexagons.
171
180
172
181
173
-
figure.legend() can be called without arguments
182
+
Figure.legend() can be called without arguments
174
183
-----------------------------------------------
175
184
176
-
Calling :func:`figure.legend` can now be done with no arguments. In this case a
177
-
legend will be created that contains all the artists on all the axes contained
178
-
within the figure.
185
+
Calling ``Figure.``:func:`~matplotlib.figure.Figure.legend` can now be
186
+
done with no arguments. In this case a legend will be created that contains all
187
+
the artists on all the axes contained within the figure.
179
188
180
189
181
190
New parameter `clear` for :func:`~matplotlib.pyplot.figure`
@@ -213,22 +222,23 @@ from :func:`~matplotlib.pyplot.figure`, it can also be used there::
213
222
214
223
AVConv writer is back
215
224
---------------------
216
-
Correct a bug that prevented detection of AVconv for matplotlib.animation.
225
+
Correct a bug that prevented detection of AVconv for `matplotlib.animation`.
217
226
218
227
219
228
Invalid (Non-finite) Axis Limit Error
220
229
-------------------------------------
221
230
222
-
When using :func:`set_xlim` and :func:`set_ylim`, passing non-finite values now
223
-
results in a ValueError. The previous behavior resulted in the limits being
224
-
erroneously reset to `(-0.001, 0.001)`.
231
+
When using :func:`~matplotlib.axes.Axes.set_xlim` and
232
+
:func:`~matplotlib.axes.Axes.set_ylim`, passing non-finite values now results
233
+
in a ``ValueError``. The previous behavior resulted in the limits being
234
+
erroneously reset to ``(-0.001, 0.001)``.
225
235
226
236
227
-
Metadata savefig kwarg
228
-
----------------------
237
+
Metadata savefig keyword argument
238
+
---------------------------------
229
239
230
-
:func:`~matplotlib.pyplot.savefig` now accepts `metadata` as a keyword argument.
231
-
It can be used to store key/value pairs in the image metadata.
240
+
:func:`~matplotlib.pyplot.savefig` now accepts ``metadata`` as a keyword
241
+
argument. It can be used to store key/value pairs in the image metadata.
232
242
233
243
Supported formats and backends
234
244
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -249,20 +259,20 @@ Example
249
259
Specify minimum value to format as scalar for ``LogFormatterMathtext``
0 commit comments