@@ -293,9 +293,9 @@ where the `.cm.ScalarMappable` passed to `matplotlib.colorbar.Colorbar`
293
293
(`~.Figure.colorbar `) had a ``set_norm `` method, as did the colorbar.
294
294
The colorbar is now purely a follower to the `.ScalarMappable ` norm and
295
295
colormap, and the old inherited methods
296
- `~ matplotlib.colorbar.ColorbarBase.set_norm `,
297
- `~ matplotlib.colorbar.ColorbarBase.set_cmap `,
298
- `~ matplotlib.colorbar.ColorbarBase.set_clim ` are deprecated, as are
296
+ `` matplotlib.colorbar.ColorbarBase.set_norm ` `,
297
+ `` matplotlib.colorbar.ColorbarBase.set_cmap ` `,
298
+ `` matplotlib.colorbar.ColorbarBase.set_clim ` ` are deprecated, as are
299
299
the getter versions of those calls. To set the norm associated with a
300
300
colorbar do ``colorbar.mappable.set_norm() `` etc.
301
301
@@ -394,11 +394,11 @@ returned.
394
394
`matplotlib.font_manager.win32InstalledFonts ` returns an empty list instead
395
395
of None if no fonts are found.
396
396
397
- `. Axes.fmt_xdata ` and `. Axes.fmt_ydata ` error handling
398
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
397
+ `` Axes.fmt_xdata `` and `` Axes.fmt_ydata ` ` error handling
398
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
399
399
400
- Previously, if the user provided a `. Axes.fmt_xdata ` or
401
- `. Axes.fmt_ydata ` function that raised a `TypeError ` (or set them to a
400
+ Previously, if the user provided a `` Axes.fmt_xdata ` ` or
401
+ `` Axes.fmt_ydata ` ` function that raised a `TypeError ` (or set them to a
402
402
non-callable), the exception would be silently ignored and the default
403
403
formatter be used instead. This is no longer the case; the exception
404
404
is now propagated out.
@@ -476,7 +476,7 @@ Exception changes
476
476
- `.Axes.streamplot ` does not support irregularly gridded ``x `` and ``y `` values.
477
477
So far, it used to silently plot an incorrect result. This has been changed to
478
478
raise a `ValueError ` instead.
479
- - The `. streamplot.Grid ` class, which is internally used by streamplot
479
+ - The `` streamplot.Grid ` ` class, which is internally used by streamplot
480
480
code, also throws a `ValueError ` when irregularly gridded values are
481
481
passed in.
482
482
@@ -566,7 +566,7 @@ in Matplotlib 2.2 has been removed. See below for a list:
566
566
- ``mlab.safe_isnan `` (use `numpy.isnan ` instead)
567
567
- ``mlab.cohere_pairs `` (use `scipy.signal.coherence ` instead)
568
568
- ``mlab.entropy `` (use `scipy.stats.entropy ` instead)
569
- - ``mlab.normpdf `` (use `scipy.stats.norm.pdf ` instead)
569
+ - ``mlab.normpdf `` (use `` scipy.stats.norm.pdf ` ` instead)
570
570
- ``mlab.find `` (use ``np.nonzero(np.ravel(condition)) `` instead)
571
571
- ``mlab.longest_contiguous_ones ``
572
572
- ``mlab.longest_ones ``
@@ -652,7 +652,7 @@ no longer available in the `pylab` module:
652
652
- ``longest_ones ``
653
653
- ``movavg ``
654
654
- ``norm_flat `` (use ``numpy.linalg.norm(a.flat, ord=2) `` instead)
655
- - ``normpdf `` (use `scipy.stats.norm.pdf ` instead)
655
+ - ``normpdf `` (use `` scipy.stats.norm.pdf ` ` instead)
656
656
- ``path_length ``
657
657
- ``poly_below ``
658
658
- ``poly_between ``
@@ -705,7 +705,7 @@ now a no-op).
705
705
706
706
The image comparison test decorators now skip (rather than xfail) the test for
707
707
uncomparable formats. The affected decorators are `~.image_comparison ` and
708
- `~.check_figures_equal `. The deprecated `~. ImageComparisonTest ` class is
708
+ `~.check_figures_equal `. The deprecated `` ImageComparisonTest ` ` class is
709
709
likewise changed.
710
710
711
711
Dependency changes
@@ -825,7 +825,7 @@ This has not been used in the codebase since its addition in 2009.
825
825
826
826
This has never been used internally, there is no equivalent method exists on
827
827
the 2D Axis classes, and despite the similar name, it has a completely
828
- different behavior from the 2D Axis' `axis.Axis.get_ticks_position ` method.
828
+ different behavior from the 2D Axis' `` axis.Axis.get_ticks_position ` ` method.
829
829
- ``.backend_pgf.LatexManagerFactory ``
830
830
831
831
- ``mpl_toolkits.axisartist.axislines.SimpleChainedObjects ``
@@ -936,16 +936,16 @@ Axes3D
936
936
- `.axes3d.Axes3D.w_yaxis `
937
937
- `.axes3d.Axes3D.w_zaxis `
938
938
939
- Use `. axes3d.Axes3D.xaxis `, `. axes3d.Axes3D.yaxis ` and ` .axes3d.Axes3D.zaxis `
940
- instead.
939
+ Use `` axes3d.Axes3D.xaxis `` , `` axes3d.Axes3D.yaxis `` and
940
+ `` axes3d.Axes3D.zaxis `` instead.
941
941
942
942
Testing
943
943
~~~~~~~
944
944
945
945
- ``matplotlib.testing.decorators.switch_backend `` decorator
946
946
947
947
Test functions should use ``pytest.mark.backend ``, and the mark will be
948
- picked up by the `matplotlib.testing.conftest.mpl_test_settings ` fixture.
948
+ picked up by the `` matplotlib.testing.conftest.mpl_test_settings ` ` fixture.
949
949
950
950
Quiver
951
951
~~~~~~
@@ -1069,7 +1069,7 @@ Axis
1069
1069
1070
1070
- ``Axis.iter_ticks ``
1071
1071
1072
- This only served as a helper to the private `. Axis._update_ticks `
1072
+ This only served as a helper to the private `` Axis._update_ticks ` `
1073
1073
1074
1074
1075
1075
Undeprecations
@@ -1123,10 +1123,10 @@ The `.Formatter` class gained a new `~.Formatter.format_ticks` method, which
1123
1123
takes the list of all tick locations as a single argument and returns the list
1124
1124
of all formatted values. It is called by the axis tick handling code and, by
1125
1125
default, first calls `~.Formatter.set_locs ` with all locations, then repeatedly
1126
- calls `~. Formatter.__call__ ` for each location.
1126
+ calls `` Formatter.__call__ ` ` for each location.
1127
1127
1128
1128
Tick-handling code in the codebase that previously performed this sequence
1129
- (`~.Formatter.set_locs ` followed by repeated `~. Formatter.__call__ `) have been
1129
+ (`~.Formatter.set_locs ` followed by repeated `` Formatter.__call__ ` `) have been
1130
1130
updated to use `~.Formatter.format_ticks `.
1131
1131
1132
1132
`~.Formatter.format_ticks ` is intended to be overridden by `.Formatter `
0 commit comments