diff --git a/doc/_templates/index.html b/doc/_templates/index.html index 93316ecd217..12bf10984e4 100644 --- a/doc/_templates/index.html +++ b/doc/_templates/index.html @@ -151,9 +151,7 @@

To keep up to date with what's going on in matplotlib, see the what's new -page, the more detailed changelog or browse -the source +page or browse the source code. Anything that could require changes to your existing code is logged in the api changes file.

diff --git a/lib/matplotlib/artist.py b/lib/matplotlib/artist.py index 2f98c9e5e17..48e72847bba 100644 --- a/lib/matplotlib/artist.py +++ b/lib/matplotlib/artist.py @@ -214,7 +214,8 @@ def set_axes(self, axes): ACCEPTS: an :class:`~matplotlib.axes.Axes` instance """ - warnings.warn(_get_axes_msg, mplDeprecation, stacklevel=1) + warnings.warn(_get_axes_msg.format('set_axes'), mplDeprecation, + stacklevel=1) self.axes = axes def get_axes(self): @@ -225,7 +226,8 @@ def get_axes(self): This has been deprecated in mpl 1.5, please use the axes property. Will be removed in 1.7 or 2.0. """ - warnings.warn(_get_axes_msg, mplDeprecation, stacklevel=1) + warnings.warn(_get_axes_msg.format('get_axes'), mplDeprecation, + stacklevel=1) return self.axes @property @@ -1581,5 +1583,5 @@ def kwdoc(a): docstring.interpd.update(Artist=kwdoc(Artist)) -_get_axes_msg = """This has been deprecated in mpl 1.5, please use the +_get_axes_msg = """{} has been deprecated in mpl 1.5, please use the axes property. A removal date has not been set.""" diff --git a/lib/matplotlib/testing/decorators.py b/lib/matplotlib/testing/decorators.py index 06b15d7b7a2..5cf1bf03044 100644 --- a/lib/matplotlib/testing/decorators.py +++ b/lib/matplotlib/testing/decorators.py @@ -290,7 +290,7 @@ def image_comparison(baseline_images=None, extensions=None, tol=0, Otherwise, a list of extensions to test. For example ['png','pdf']. - *tol*: (default 13) + *tol*: (default 0) The RMS threshold above which the test is considered failed. *freetype_version*: str or tuple diff --git a/lib/matplotlib/tests/baseline_images/test_mathtext/mathtext_dejavusans_31.pdf b/lib/matplotlib/tests/baseline_images/test_mathtext/mathtext_dejavusans_31.pdf index f5846390d7c..83c8f8d3845 100644 Binary files a/lib/matplotlib/tests/baseline_images/test_mathtext/mathtext_dejavusans_31.pdf and b/lib/matplotlib/tests/baseline_images/test_mathtext/mathtext_dejavusans_31.pdf differ diff --git a/lib/matplotlib/tests/baseline_images/test_mathtext/mathtext_dejavuserif_31.pdf b/lib/matplotlib/tests/baseline_images/test_mathtext/mathtext_dejavuserif_31.pdf index 1e40f397af6..d9af3d4188d 100644 Binary files a/lib/matplotlib/tests/baseline_images/test_mathtext/mathtext_dejavuserif_31.pdf and b/lib/matplotlib/tests/baseline_images/test_mathtext/mathtext_dejavuserif_31.pdf differ