From 20990b6fd9a796cf9cc5b828a56142e4f6fddbce Mon Sep 17 00:00:00 2001 From: yuanx749 Date: Wed, 21 Sep 2022 23:45:21 +0800 Subject: [PATCH] Fix repeated word typos --- lib/matplotlib/axes/_axes.py | 2 +- lib/matplotlib/colorbar.py | 2 +- tutorials/introductory/lifecycle.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/matplotlib/axes/_axes.py b/lib/matplotlib/axes/_axes.py index 934aeff4117d..7e2103003cad 100644 --- a/lib/matplotlib/axes/_axes.py +++ b/lib/matplotlib/axes/_axes.py @@ -6205,7 +6205,7 @@ def pcolorfast(self, *args, alpha=None, norm=None, cmap=None, vmin=None, - It supports only flat shading (no outlines) - It lacks support for log scaling of the axes. - - It does not have a have a pyplot wrapper. + - It does not have a pyplot wrapper. Parameters ---------- diff --git a/lib/matplotlib/colorbar.py b/lib/matplotlib/colorbar.py index b9293fbd902e..8cf8c0e6c1eb 100644 --- a/lib/matplotlib/colorbar.py +++ b/lib/matplotlib/colorbar.py @@ -916,7 +916,7 @@ def set_ticklabels(self, ticklabels, update_ticks=True, *, minor=False, of locations. update_ticks : bool, default: True - This keyword argument is ignored and will be be removed. + This keyword argument is ignored and will be removed. Deprecated minor : bool diff --git a/tutorials/introductory/lifecycle.py b/tutorials/introductory/lifecycle.py index b0181b4df7b7..59cb55831fe1 100644 --- a/tutorials/introductory/lifecycle.py +++ b/tutorials/introductory/lifecycle.py @@ -26,7 +26,7 @@ In the explicit object-oriented (OO) interface we directly utilize instances of :class:`axes.Axes` to build up the visualization in an instance of :class:`figure.Figure`. In the implicit interface, inspired by and modeled on -MATLAB, uses an global state-based interface which is is encapsulated in the +MATLAB, uses an global state-based interface which is encapsulated in the :mod:`.pyplot` module to plot to the "current Axes". See the :doc:`pyplot tutorials ` for a more in-depth look at the pyplot interface.