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

Skip to content

Commit e467be4

Browse files
committed
Remove redundant behaviour changes in 3.6
1 parent cbf990d commit e467be4

File tree

2 files changed

+12
-30
lines changed

2 files changed

+12
-30
lines changed

doc/api/prev_api_changes/api_changes_3.6.0/behaviour.rst

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,6 @@ AGG renderer. Previously such a large image would be shown incorrectly. To
1919
prevent this downsampling and the warning it raises, manually downsample your
2020
data before handing it to `~matplotlib.axes.Axes.imshow`.
2121

22-
New *algorithm* keyword argument to ``contour`` and ``contourf``
23-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
24-
25-
The contouring functions `~matplotlib.axes.Axes.contour` and
26-
`~matplotlib.axes.Axes.contourf` have a new keyword argument *algorithm* to
27-
control which algorithm is used to calculate the contours. There is a choice of
28-
four algorithms to use, and the default is to use ``algorithm='mpl2014'`` which
29-
is the same algorithm that Matplotlib has been using since 2014.
30-
31-
Other possible values of the *algorithm* keyword argument are ``'mpl2005'``,
32-
``'serial'`` and ``'threaded'``; see the `ContourPy documentation
33-
<https://contourpy.readthedocs.io>`_ for further details.
34-
3522
Default date limits changed to 1970-01-01 – 1970-01-02
3623
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3724

@@ -64,14 +51,6 @@ Previously `.Axis.get_ticklabels` (and `.Axes.get_xticklabels`,
6451
already been performed. Now the ticks and their labels are updated when the
6552
labels are requested.
6653

67-
Added *markerfacecoloralt* parameter to ``Axes.errorbar``
68-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69-
70-
The *markerfacecoloralt* parameter is now passed to the line plotter from
71-
`.Axes.errorbar`. The documentation now accurately lists which properties are
72-
passed to `.Line2D`, rather than claiming that all keyword arguments are passed
73-
on.
74-
7554
Warning when scatter plot color settings discarded
7655
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7756

doc/users/prev_whats_new/whats_new_3.6.0.rst

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -234,19 +234,22 @@ only be set globally via :rc:`contour.negative_linestyles`.
234234
axs[1].clabel(CS, fontsize=9, inline=True)
235235
axs[1].set_title('Dotted negative contours')
236236

237-
ContourPy used for quad contour calculations
238-
--------------------------------------------
237+
Imrpoved quad contour calculations via ContourPy
238+
------------------------------------------------
239+
240+
The contouring functions `~.axes.Axes.contour` and `~.axes.Axes.contourf` have
241+
a new keyword argument *algorithm* to control which algorithm is used to
242+
calculate the contours. There is a choice of four algorithms to use, and the
243+
default is to use ``algorithm='mpl2014'`` which is the same algorithm that
244+
Matplotlib has been using since 2014.
239245

240246
Previously Matplotlib shipped its own C++ code for calculating the contours of
241247
quad grids. Now the external library `ContourPy
242-
<https://github.com/contourpy/contourpy>`_ is used instead. There is a choice
243-
of four algorithms to use, controlled by the *algorithm* keyword argument to
244-
the functions `~.axes.Axes.contour` and `~.axes.Axes.contourf`. The default
245-
behaviour is to use ``algorithm='mpl2014'`` which is the same algorithm that
246-
Matplotlib has been using since 2014.
248+
<https://github.com/contourpy/contourpy>`_ is used instead.
247249

248-
See the `ContourPy documentation <https://contourpy.readthedocs.io>`_ for
249-
further details of the different algorithms.
250+
Other possible values of the *algorithm* keyword argument at this time are
251+
``'mpl2005'``, ``'serial'`` and ``'threaded'``; see the `ContourPy
252+
documentation <https://contourpy.readthedocs.io>`_ for further details.
250253

251254
.. note::
252255

0 commit comments

Comments
 (0)