From 3469e157066b407d6d447bd6bd5fc25a47150f65 Mon Sep 17 00:00:00 2001 From: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com> Date: Mon, 27 Sep 2021 21:00:15 +0200 Subject: [PATCH] Backport PR #21186: Fixed typos using codespell. (previous pull request was told not to change the agg files) --- doc/users/prev_whats_new/changelog.rst | 2 +- lib/matplotlib/backend_bases.py | 2 +- lib/matplotlib/cm.py | 2 +- lib/matplotlib/legend.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/users/prev_whats_new/changelog.rst b/doc/users/prev_whats_new/changelog.rst index 483f6eda53c3..3fe8de2ae3f4 100644 --- a/doc/users/prev_whats_new/changelog.rst +++ b/doc/users/prev_whats_new/changelog.rst @@ -4786,7 +4786,7 @@ the `API changes <../../api/api_changes.html>`_. Added Nick's picker "among" patch - JDH 2005-06-05 - Fixed a TeX/LaTeX font discrepency in backend_ps. - DSD + Fixed a TeX/LaTeX font discrepancy in backend_ps. - DSD 2005-06-05 Added a ps.distill option in rc settings. If True, postscript output will diff --git a/lib/matplotlib/backend_bases.py b/lib/matplotlib/backend_bases.py index f202fa65c83c..0f5949445775 100644 --- a/lib/matplotlib/backend_bases.py +++ b/lib/matplotlib/backend_bases.py @@ -2018,7 +2018,7 @@ def set_cursor(self, cursor): Parameters ---------- cursor : `.Cursors` - The cursor to dispay over the canvas. Note: some backends may + The cursor to display over the canvas. Note: some backends may change the cursor for the entire window. """ diff --git a/lib/matplotlib/cm.py b/lib/matplotlib/cm.py index 1d1de723ebe0..a1f15ee3b5a1 100644 --- a/lib/matplotlib/cm.py +++ b/lib/matplotlib/cm.py @@ -190,7 +190,7 @@ def register(self, cmap, *, name=None, force=False): cmap_d = _DeprecatedCmapDictWrapper(_cmap_registry) __builtin_cmaps = tuple(_cmap_registry) -# public acces to the colormaps should be via `matplotlib.colormaps`. For now, +# public access to the colormaps should be via `matplotlib.colormaps`. For now, # we still create the registry here, but that should stay an implementation # detail. _colormaps = ColormapRegistry(_cmap_registry) diff --git a/lib/matplotlib/legend.py b/lib/matplotlib/legend.py index 2fe1bd5c3369..fd37b8d6dd71 100644 --- a/lib/matplotlib/legend.py +++ b/lib/matplotlib/legend.py @@ -354,7 +354,7 @@ def __init__( ----- Users can specify any arbitrary location for the legend using the *bbox_to_anchor* keyword argument. *bbox_to_anchor* can be a - `.BboxBase` (or derived therefrom) or a tuple of 2 or 4 floats. + `.BboxBase` (or derived there from) or a tuple of 2 or 4 floats. See `set_bbox_to_anchor` for more detail. The legend location can be specified by setting *loc* with a tuple of