From 7432ef44f0023d37a4e3cc10be1e3f9098ce99a2 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Mon, 23 Jun 2025 17:53:03 -0400 Subject: [PATCH] Fix several minor typos --- ci/schemas/conda-environment.json | 2 +- .../prev_api_changes/api_changes_0.90.1.rst | 2 +- .../prev_api_changes/api_changes_1.5.0.rst | 2 +- .../prev_whats_new/github_stats_3.0.0.rst | 8 ++--- .../prev_whats_new/github_stats_3.0.1.rst | 2 +- .../prev_whats_new/github_stats_3.0.2.rst | 4 +-- .../prev_whats_new/github_stats_3.1.0.rst | 2 +- .../prev_whats_new/github_stats_3.1.2.rst | 2 +- .../prev_whats_new/github_stats_3.1.3.rst | 4 +-- .../prev_whats_new/github_stats_3.2.0.rst | 8 ++--- .../prev_whats_new/github_stats_3.3.0.rst | 20 ++++++------- .../prev_whats_new/github_stats_3.3.1.rst | 6 ++-- .../prev_whats_new/github_stats_3.4.0.rst | 30 +++++++++---------- .../prev_whats_new/github_stats_3.4.2.rst | 2 +- .../prev_whats_new/github_stats_3.4.3.rst | 2 +- .../prev_whats_new/github_stats_3.5.0.rst | 6 ++-- .../prev_whats_new/github_stats_3.5.1.rst | 2 +- doc/users/prev_whats_new/whats_new_3.10.0.rst | 4 ++- lib/matplotlib/axes/_base.py | 2 +- lib/matplotlib/tests/test_triangulation.py | 2 +- lib/matplotlib/tri/_triinterpolate.py | 10 +++---- 21 files changed, 62 insertions(+), 60 deletions(-) diff --git a/ci/schemas/conda-environment.json b/ci/schemas/conda-environment.json index 458676942a44..fb1e821778c3 100644 --- a/ci/schemas/conda-environment.json +++ b/ci/schemas/conda-environment.json @@ -1,6 +1,6 @@ { "title": "conda environment file", - "description": "Support for conda's enviroment.yml files (e.g. `conda env export > environment.yml`)", + "description": "Support for conda's environment.yml files (e.g. `conda env export > environment.yml`)", "id": "https://raw.githubusercontent.com/Microsoft/vscode-python/main/schemas/conda-environment.json", "$schema": "http://json-schema.org/draft-04/schema#", "definitions": { diff --git a/doc/api/prev_api_changes/api_changes_0.90.1.rst b/doc/api/prev_api_changes/api_changes_0.90.1.rst index 89311d4ed102..8caef5e35ced 100644 --- a/doc/api/prev_api_changes/api_changes_0.90.1.rst +++ b/doc/api/prev_api_changes/api_changes_0.90.1.rst @@ -32,7 +32,7 @@ Changes for 0.90.1 named units.ConversionInterface.convert. Axes.errorbar uses Axes.vlines and Axes.hlines to draw its error - limits int he vertical and horizontal direction. As you'll see + limits in the vertical and horizontal direction. As you'll see in the changes below, these functions now return a LineCollection rather than a list of lines. The new return signature for errorbar is ylins, caplines, errorcollections where diff --git a/doc/api/prev_api_changes/api_changes_1.5.0.rst b/doc/api/prev_api_changes/api_changes_1.5.0.rst index b482d8bd7acd..513971098b93 100644 --- a/doc/api/prev_api_changes/api_changes_1.5.0.rst +++ b/doc/api/prev_api_changes/api_changes_1.5.0.rst @@ -189,7 +189,7 @@ algorithm that was not necessarily applicable to custom Axes. Three new private methods, ``matplotlib.axes._base._AxesBase._get_view``, ``matplotlib.axes._base._AxesBase._set_view``, and ``matplotlib.axes._base._AxesBase._set_view_from_bbox``, allow for custom -*Axes* classes to override the pan and zoom algorithms. Implementors of +*Axes* classes to override the pan and zoom algorithms. Implementers of custom *Axes* who override these methods may provide suitable behaviour for both pan and zoom as well as the view navigation buttons on the interactive toolbars. diff --git a/doc/users/prev_whats_new/github_stats_3.0.0.rst b/doc/users/prev_whats_new/github_stats_3.0.0.rst index 0e9c4b3b588d..cae3ee9b570d 100644 --- a/doc/users/prev_whats_new/github_stats_3.0.0.rst +++ b/doc/users/prev_whats_new/github_stats_3.0.0.rst @@ -595,7 +595,7 @@ Pull Requests (598): * :ghpull:`11757`: PGF backend output text color even if black * :ghpull:`11751`: Remove the unused 'verbose' option from setupext. * :ghpull:`9084`: Require calling a _BoundMethodProxy to get the underlying callable. -* :ghpull:`11752`: Fix section level of Previous Whats New +* :ghpull:`11752`: Fix section level of Previous What's New * :ghpull:`10513`: Replace most uses of getfilesystemencoding by os.fs{en,de}code. * :ghpull:`11739`: fix tight_layout bug #11737 * :ghpull:`11744`: minor doc update on axes_grid1's inset_axes @@ -899,7 +899,7 @@ Pull Requests (598): * :ghpull:`11075`: Drop alpha channel when saving comparison failure diff image. * :ghpull:`9022`: Help tool * :ghpull:`11045`: Help tool. -* :ghpull:`11076`: Don't create texput.{aux,log} in rootdir everytime tests are run. +* :ghpull:`11076`: Don't create texput.{aux,log} in rootdir every time tests are run * :ghpull:`11073`: py3fication of some tests. * :ghpull:`11074`: bytes % args is back since py3.5 * :ghpull:`11066`: Use chained comparisons where reasonable. @@ -1138,7 +1138,7 @@ Issues (123): * :ghissue:`11373`: Passing an incorrectly sized colour list to scatter should raise a relevant error * :ghissue:`11756`: pgf backend doesn't set color of text when the color is black * :ghissue:`11766`: test_axes.py::test_csd_freqs failing with numpy 1.15.0 on macOS -* :ghissue:`11750`: previous whats new is overindented on "what's new in mpl3.0 page" +* :ghissue:`11750`: previous what's new is overindented on "what's new in mpl3.0 page" * :ghissue:`11728`: Qt5 Segfaults on window resize * :ghissue:`11709`: Repaint region is wrong on Retina display with Qt5 * :ghissue:`11578`: wx segfaulting on OSX travis tests @@ -1149,7 +1149,7 @@ Issues (123): * :ghissue:`11607`: AttributeError: 'QEvent' object has no attribute 'pos' * :ghissue:`11486`: Colorbar does not render with PowerNorm and min extend when using imshow * :ghissue:`11582`: wx segfault -* :ghissue:`11515`: using 'sharex' once in 'subplots' function can affect subsequent calles to 'subplots' +* :ghissue:`11515`: using 'sharex' once in 'subplots' function can affect subsequent calls to 'subplots' * :ghissue:`10269`: input() blocks any rendering and event handling * :ghissue:`10345`: Python 3.4 with Matplotlib 1.5 vs Python 3.6 with Matplotlib 2.1 * :ghissue:`10443`: Drop use of pytz dependency in next major release diff --git a/doc/users/prev_whats_new/github_stats_3.0.1.rst b/doc/users/prev_whats_new/github_stats_3.0.1.rst index 95e899d1a9de..8ebc7f5f11c1 100644 --- a/doc/users/prev_whats_new/github_stats_3.0.1.rst +++ b/doc/users/prev_whats_new/github_stats_3.0.1.rst @@ -150,7 +150,7 @@ Pull Requests (127): * :ghpull:`12230`: Backport PR #12213 on branch v3.0.x (Change win32InstalledFonts return value) * :ghpull:`12213`: Change win32InstalledFonts return value * :ghpull:`12223`: Backport PR #11688 on branch v3.0.x (Don't draw axis (spines, ticks, labels) twice when using parasite axes.) -* :ghpull:`12224`: Backport PR #12207 on branch v3.0.x (FIX: dont' check for interactive framework if none required) +* :ghpull:`12224`: Backport PR #12207 on branch v3.0.x (FIX: don't check for interactive framework if none required) * :ghpull:`12207`: FIX: don't check for interactive framework if none required * :ghpull:`11688`: Don't draw axis (spines, ticks, labels) twice when using parasite axes. * :ghpull:`12205`: Backport PR #12186 on branch v3.0.x (DOC: fix API note about get_tightbbox) diff --git a/doc/users/prev_whats_new/github_stats_3.0.2.rst b/doc/users/prev_whats_new/github_stats_3.0.2.rst index c5caed404b62..6b4ef3071f1c 100644 --- a/doc/users/prev_whats_new/github_stats_3.0.2.rst +++ b/doc/users/prev_whats_new/github_stats_3.0.2.rst @@ -83,7 +83,7 @@ Pull Requests (224): * :ghpull:`12670`: FIX: add setter for hold to un-break basemap * :ghpull:`12693`: Workaround Text3D breaking tight_layout() * :ghpull:`12727`: Reorder API docs: separate file per module -* :ghpull:`12738`: Add unobtrusive depreaction note to the first line of the docstring. +* :ghpull:`12738`: Add unobtrusive deprecation note to the first line of the docstring * :ghpull:`12740`: DOC: constrained layout guide (fix: Spacing with colorbars) * :ghpull:`11663`: Refactor color parsing of Axes.scatter * :ghpull:`12736`: Move deprecation note to end of docstring @@ -263,7 +263,7 @@ Pull Requests (224): * :ghpull:`12227`: Use (float, float) as parameter type for 2D positions * :ghpull:`12199`: Allow disabling specific mouse actions in blocking_input * :ghpull:`12213`: Change win32InstalledFonts return value -* :ghpull:`12207`: FIX: dont' check for interactive framework if none required +* :ghpull:`12207`: FIX: don't check for interactive framework if none required * :ghpull:`11688`: Don't draw axis (spines, ticks, labels) twice when using parasite axes. * :ghpull:`12210`: Axes.tick_params() argument checking * :ghpull:`12211`: Fix typo diff --git a/doc/users/prev_whats_new/github_stats_3.1.0.rst b/doc/users/prev_whats_new/github_stats_3.1.0.rst index 97bee1af56b8..a0fb2692fdbb 100644 --- a/doc/users/prev_whats_new/github_stats_3.1.0.rst +++ b/doc/users/prev_whats_new/github_stats_3.1.0.rst @@ -871,7 +871,7 @@ Pull Requests (918): * :ghpull:`12749`: Move toolmanager warning from logging to warning. * :ghpull:`12598`: Support Cn colors with n>=10. * :ghpull:`12727`: Reorder API docs: separate file per module -* :ghpull:`12738`: Add unobtrusive depreaction note to the first line of the docstring. +* :ghpull:`12738`: Add unobtrusive deprecation note to the first line of the docstring * :ghpull:`11663`: Refactor color parsing of Axes.scatter * :ghpull:`12736`: Move deprecation note to end of docstring * :ghpull:`12704`: Rename tkinter import from Tk to tk. diff --git a/doc/users/prev_whats_new/github_stats_3.1.2.rst b/doc/users/prev_whats_new/github_stats_3.1.2.rst index e1ed84e26372..d8476cb5c3a8 100644 --- a/doc/users/prev_whats_new/github_stats_3.1.2.rst +++ b/doc/users/prev_whats_new/github_stats_3.1.2.rst @@ -172,7 +172,7 @@ Issues (28): * :ghissue:`15162`: axes.bar fails when x is int-indexed pandas.Series * :ghissue:`15103`: Colorbar for imshow messes interactive cursor with masked data * :ghissue:`8744`: ConnectionPatch hidden by plots -* :ghissue:`14950`: plt.ioff() not supressing figure generation +* :ghissue:`14950`: plt.ioff() not suppressing figure generation * :ghissue:`14959`: Typo in Docs * :ghissue:`14902`: from matplotlib import animation UnicodeDecodeError * :ghissue:`14897`: New yticks behavior in 3.1.1 vs 3.1.0 diff --git a/doc/users/prev_whats_new/github_stats_3.1.3.rst b/doc/users/prev_whats_new/github_stats_3.1.3.rst index b4706569df02..f8c1afb0e177 100644 --- a/doc/users/prev_whats_new/github_stats_3.1.3.rst +++ b/doc/users/prev_whats_new/github_stats_3.1.3.rst @@ -71,8 +71,8 @@ Pull Requests (45): * :ghpull:`15757`: Backport PR #15751 on branch v3.1.x (Modernize FAQ entry for plt.show().) * :ghpull:`15735`: Cleanup some mplot3d docstrings. * :ghpull:`15753`: Backport PR #15661 on branch v3.1.x (Document scope of 3D scatter depthshading.) -* :ghpull:`15741`: Backport PR #15729 on branch v3.1.x (Catch correct parse errror type for dateutil >= 2.8.1) -* :ghpull:`15729`: Catch correct parse errror type for dateutil >= 2.8.1 +* :ghpull:`15741`: Backport PR #15729 on branch v3.1.x (Catch correct parse error type for dateutil >= 2.8.1) +* :ghpull:`15729`: Catch correct parse error type for dateutil >= 2.8.1 * :ghpull:`15737`: Fix env override in WebAgg backend test. * :ghpull:`15244`: Change documentation format of rcParams defaults diff --git a/doc/users/prev_whats_new/github_stats_3.2.0.rst b/doc/users/prev_whats_new/github_stats_3.2.0.rst index 3cb3fce5de52..4efdb191494d 100644 --- a/doc/users/prev_whats_new/github_stats_3.2.0.rst +++ b/doc/users/prev_whats_new/github_stats_3.2.0.rst @@ -264,12 +264,12 @@ Pull Requests (839): * :ghpull:`16112`: CI: Fail when failed to install dependencies * :ghpull:`16119`: Backport PR #16065 on branch v3.2.x (Nicer formatting of community aspects on front page) * :ghpull:`16074`: Backport PR #16061 on branch v3.2.x (Fix deprecation message for axes_grid1.colorbar.) -* :ghpull:`16093`: Backport PR #16079 on branch v3.2.x (Fix restuctured text formatting) +* :ghpull:`16093`: Backport PR #16079 on branch v3.2.x (Fix restructured text formatting) * :ghpull:`16094`: Backport PR #16080 on branch v3.2.x (Cleanup docstrings in backend_bases.py) * :ghpull:`16086`: FIX: use supported attribute to check pillow version * :ghpull:`16084`: Backport PR #16077 on branch v3.2.x (Fix some typos) * :ghpull:`16077`: Fix some typos -* :ghpull:`16079`: Fix restuctured text formatting +* :ghpull:`16079`: Fix restructured text formatting * :ghpull:`16080`: Cleanup docstrings in backend_bases.py * :ghpull:`16061`: Fix deprecation message for axes_grid1.colorbar. * :ghpull:`16006`: Ignore pos in StrCategoryFormatter.__call__ to display correct label in the preview window @@ -811,7 +811,7 @@ Pull Requests (839): * :ghpull:`14310`: Update to Bounding Box for Qt5 FigureCanvasATAgg.paintEvent() * :ghpull:`14380`: Inline $MPLLOCALFREETYPE/$PYTEST_ADDOPTS/$NPROC in .travis.yml. * :ghpull:`14413`: MAINT: small improvements to the pdf backend -* :ghpull:`14452`: MAINT: Minor cleanup to make functions more self consisntent +* :ghpull:`14452`: MAINT: Minor cleanup to make functions more self consistent * :ghpull:`14441`: Misc. docstring cleanups. * :ghpull:`14440`: Interpolations example * :ghpull:`14402`: Prefer ``mpl.get_data_path()``, and support Paths in FontProperties. @@ -827,7 +827,7 @@ Pull Requests (839): * :ghpull:`14311`: travis: add c code coverage measurements * :ghpull:`14393`: Remove remaining unicode-strings markers. * :ghpull:`14391`: Remove explicit inheritance from object -* :ghpull:`14343`: acquiring and releaseing keypresslock when textbox is being activated +* :ghpull:`14343`: acquiring and releasing keypresslock when textbox is being activated * :ghpull:`14353`: Register flaky pytest marker. * :ghpull:`14373`: Properly hide __has_include to support C++<17 compilers. * :ghpull:`14378`: Remove setup_method diff --git a/doc/users/prev_whats_new/github_stats_3.3.0.rst b/doc/users/prev_whats_new/github_stats_3.3.0.rst index c2e6cd132c2d..45813659b890 100644 --- a/doc/users/prev_whats_new/github_stats_3.3.0.rst +++ b/doc/users/prev_whats_new/github_stats_3.3.0.rst @@ -254,7 +254,7 @@ Pull Requests (1066): * :ghpull:`17617`: Rewrite pdf test to use check_figures_equal. * :ghpull:`17654`: Small fixes to recent What's New * :ghpull:`17649`: MNT: make _setattr_cm more forgiving -* :ghpull:`17644`: Doc 33 whats new consolidation +* :ghpull:`17644`: Doc 33 what's new consolidation * :ghpull:`17647`: Fix example in docstring of cbook._unfold. * :ghpull:`10187`: DOC: add a blitting tutorial * :ghpull:`17471`: Removed idiomatic constructs from interactive figures docs @@ -306,7 +306,7 @@ Pull Requests (1066): * :ghpull:`17540`: Fix help window on GTK. * :ghpull:`17535`: Update docs on subplot2grid / SubplotBase * :ghpull:`17510`: Fix exception handling in FT2Font init. -* :ghpull:`16953`: Changed 'colors' paramater in PyPlot vlines/hlines and Axes vlines/hlines to default to configured rcParams 'lines.color' option +* :ghpull:`16953`: Changed 'colors' parameter in PyPlot vlines/hlines and Axes vlines/hlines to default to configured rcParams 'lines.color' option * :ghpull:`17459`: Use light icons on dark themes for wx and gtk, too. * :ghpull:`17539`: Use symbolic icons for buttons in GTK toolbar. * :ghpull:`15435`: Reuse png metadata handling of imsave() in FigureCanvasAgg.print_png(). @@ -469,7 +469,7 @@ Pull Requests (1066): * :ghpull:`15008`: ENH: add variable epoch * :ghpull:`17260`: Text Rotation Example: Correct roation_mode typo * :ghpull:`17258`: Improve info logged by tex subsystem. -* :ghpull:`17211`: Deprecate support for running svg converter from path contaning newline. +* :ghpull:`17211`: Deprecate support for running svg converter from path containing newline. * :ghpull:`17078`: Improve nbAgg & WebAgg toolbars * :ghpull:`17191`: Inline unsampled-image path; remove renderer kwarg from _check_unsampled_image. * :ghpull:`17213`: Replace use of Bbox.bounds by appropriate properties. @@ -604,7 +604,7 @@ Pull Requests (1066): * :ghpull:`16823`: Dedupe implementation of axes grid switching in toolmanager. * :ghpull:`16951`: Cleanup dates docstrings. * :ghpull:`16769`: Fix some small style issues -* :ghpull:`16936`: FIX: Plot is now rendered with correct inital value +* :ghpull:`16936`: FIX: Plot is now rendered with correct initial value * :ghpull:`16937`: Making sure to keep over/under/bad in cmap resample/reverse. * :ghpull:`16915`: Tighten/cleanup wx backend. * :ghpull:`16923`: Test the macosx backend on Travis. @@ -860,7 +860,7 @@ Pull Requests (1066): * :ghpull:`16439`: Rework pylab docstring. * :ghpull:`16441`: Rework pylab docstring. * :ghpull:`16442`: Expire deprecation of \stackrel. -* :ghpull:`16365`: TST: test_acorr (replaced image comparison with figure comparion) +* :ghpull:`16365`: TST: test_acorr (replaced image comparison with figure comparison) * :ghpull:`16206`: Expire deprecation of \stackrel * :ghpull:`16437`: Rework pylab docstring. * :ghpull:`8896`: Fix mplot3d projection @@ -898,7 +898,7 @@ Pull Requests (1066): * :ghpull:`16304`: Simplify Legend.get_children. * :ghpull:`16309`: Remove duplicated computations in Axes.get_tightbbox. * :ghpull:`16314`: Avoid repeatedly warning about too many figures open. -* :ghpull:`16319`: Put doc for XAxis befor YAxis and likewise for XTick, YTick. +* :ghpull:`16319`: Put doc for XAxis before YAxis and likewise for XTick, YTick. * :ghpull:`16313`: Cleanup constrainedlayout_guide. * :ghpull:`16312`: Remove unnecessary Legend._approx_text_height. * :ghpull:`16307`: Cleanup axes_demo. @@ -991,7 +991,7 @@ Pull Requests (1066): * :ghpull:`16078`: Refactor a bit animation start/save interaction. * :ghpull:`16081`: Delay resolution of animation extra_args. * :ghpull:`16088`: Use C++ true/false in ttconv. -* :ghpull:`16082`: Defaut to writing animation frames to a temporary directory. +* :ghpull:`16082`: Default to writing animation frames to a temporary directory. * :ghpull:`16070`: Make animation blit cache robust against 3d viewpoint changes. * :ghpull:`5056`: MNT: more control of colorbar with CountourSet * :ghpull:`16051`: Deprecate parameters to colorbar which have no effect. @@ -1133,7 +1133,7 @@ Pull Requests (1066): * :ghpull:`15645`: Bump minimal numpy version to 1.12. * :ghpull:`15646`: Hide sphinx-gallery config comments * :ghpull:`15642`: Remove interpolation="nearest" from most examples. -* :ghpull:`15671`: Don't mention tcl in tkagg commments anymore. +* :ghpull:`15671`: Don't mention tcl in tkagg comments anymore. * :ghpull:`15607`: Simplify tk loader. * :ghpull:`15651`: Simplify axes_pad handling in axes_grid. * :ghpull:`15652`: Remove mention of Enthought Canopy from the docs. @@ -1400,7 +1400,7 @@ Issues (198): * :ghissue:`16299`: The interactive polar plot animation's axis label won't scale. * :ghissue:`15182`: More tests ``ConciseDateFormatter`` needed * :ghissue:`16140`: Unclear Documentation for get_xticklabels -* :ghissue:`16147`: pp.hist parmeter 'density' does not scale data appropriately +* :ghissue:`16147`: pp.hist parameter 'density' does not scale data appropriately * :ghissue:`16069`: matplotlib glitch when rotating interactively a 3d animation * :ghissue:`14603`: Scatterplot: should vmin/vmax be ignored when a norm is specified? * :ghissue:`15730`: Setting lines.marker = s in matplotlibrc also sets markers in boxplots @@ -1423,7 +1423,7 @@ Issues (198): * :ghissue:`15089`: Coerce MxNx1 images into MxN images for imshow * :ghissue:`5253`: abline() - for drawing arbitrary lines on a plot, given specifications. * :ghissue:`15165`: Switch to requiring Pillow rather than having our own png wrapper? -* :ghissue:`15280`: Add pull request checklist to Reviewers Guidlines +* :ghissue:`15280`: Add pull request checklist to Reviewers Guidelines * :ghissue:`15289`: cbook.warn_deprecated() should warn with a MatplotlibDeprecationWarning not a UserWarning * :ghissue:`15285`: DOC: make copy right year auto-update * :ghissue:`15059`: fig.add_axes() with no arguments silently does nothing diff --git a/doc/users/prev_whats_new/github_stats_3.3.1.rst b/doc/users/prev_whats_new/github_stats_3.3.1.rst index 3fa2d39a4d90..dc8e9996313f 100644 --- a/doc/users/prev_whats_new/github_stats_3.3.1.rst +++ b/doc/users/prev_whats_new/github_stats_3.3.1.rst @@ -102,16 +102,16 @@ Pull Requests (73): * :ghpull:`17995`: Avoid using Bbox machinery in Path.get_extents; special case polylines. * :ghpull:`17994`: Special case degree-1 Bezier curves. * :ghpull:`17990`: Manual backport of pr 17983 on v3.3.x -* :ghpull:`17984`: Backport PR #17972 on branch v3.3.x (Fix PyPy compatiblity issue) +* :ghpull:`17984`: Backport PR #17972 on branch v3.3.x (Fix PyPy compatibility issue) * :ghpull:`17985`: Backport PR #17976 on branch v3.3.x (Fixed #17970 - Docstrings should not accessed with -OO) * :ghpull:`17983`: FIX: undeprecate and update num2epoch/epoch2num * :ghpull:`17976`: Fixed #17970 - Docstrings should not accessed with -OO -* :ghpull:`17972`: Fix PyPy compatiblity issue +* :ghpull:`17972`: Fix PyPy compatibility issue Issues (25): * :ghissue:`18234`: _reshape_2D function behavior changed, breaks hist for some cases in 3.3.0 -* :ghissue:`18232`: different behaviour between 3.3.0 and 3.2.2 (and earlier) for ploting in a Tk canvas +* :ghissue:`18232`: different behaviour between 3.3.0 and 3.2.2 (and earlier) for plotting in a Tk canvas * :ghissue:`18212`: Updated WxAgg NavigationToolbar2 breaks custom toolbars * :ghissue:`18129`: Error reading png image from URL with imread in matplotlib 3.3 * :ghissue:`18163`: Figure cannot be closed if it has associated Agg canvas diff --git a/doc/users/prev_whats_new/github_stats_3.4.0.rst b/doc/users/prev_whats_new/github_stats_3.4.0.rst index b2568058b455..fb6f0044d139 100644 --- a/doc/users/prev_whats_new/github_stats_3.4.0.rst +++ b/doc/users/prev_whats_new/github_stats_3.4.0.rst @@ -426,9 +426,9 @@ Pull Requests (772): * :ghpull:`19207`: Fix Grouper example code * :ghpull:`19204`: Clarify Date Format Example * :ghpull:`19200`: Fix incorrect statement regarding test images cache size. -* :ghpull:`19198`: Fix link in contrbuting docs +* :ghpull:`19198`: Fix link in contributing docs * :ghpull:`19196`: Fix PR welcome action -* :ghpull:`19188`: Cleanup comparision between X11/CSS4 and xkcd colors +* :ghpull:`19188`: Cleanup comparison between X11/CSS4 and xkcd colors * :ghpull:`19194`: Fix trivial quiver doc typo. * :ghpull:`19180`: Fix Artist.remove_callback() * :ghpull:`19192`: Fixed part of Issue - #19100, changed documentation for axisartist @@ -472,7 +472,7 @@ Pull Requests (772): * :ghpull:`19127`: Cleanups to webagg & friends. * :ghpull:`19122`: FIX/DOC - make Text doscstring interp more easily searchable * :ghpull:`19106`: Support setting rcParams["image.cmap"] to Colormap instances. -* :ghpull:`19085`: FIX: update a transfrom from transFigure to transSubfigure +* :ghpull:`19085`: FIX: update a transform from transFigure to transSubfigure * :ghpull:`19117`: Rename a confusing variable. * :ghpull:`18647`: Axes.axline: implement support transform argument (for points but not slope) * :ghpull:`16220`: Fix interaction with unpickled 3d plots. @@ -701,7 +701,7 @@ Pull Requests (772): * :ghpull:`18564`: Prepare for merging SubplotBase into AxesBase. * :ghpull:`15127`: ENH/API: improvements to register_cmap * :ghpull:`18576`: DOC: prefer colormap over color map -* :ghpull:`18340`: Colorbar grid postion +* :ghpull:`18340`: Colorbar grid position * :ghpull:`18568`: Added Reporting to code_of_conduct.md * :ghpull:`18555`: Convert _math_style_dict into an Enum. * :ghpull:`18567`: Replace subplot(ijk) calls by subplots(i, j) @@ -759,7 +759,7 @@ Pull Requests (772): * :ghpull:`18449`: Remove the private Axes._set_position. * :ghpull:`18460`: DOC: example gray level in 'Specifying Colors' tutorial * :ghpull:`18426`: plot directive: caption-option -* :ghpull:`18444`: Support doubleclick in webagg/nbagg +* :ghpull:`18444`: Support double-click in webagg/nbagg * :ghpull:`12518`: Example showing scale-invariant angle arc * :ghpull:`18446`: Normalize properties passed to ToolHandles. * :ghpull:`18445`: Warn if an animation is gc'd before doing anything. @@ -808,9 +808,9 @@ Pull Requests (772): * :ghpull:`17901`: DOC: Autoreformating of backend/\*.py * :ghpull:`17291`: Normalize gridspec ratios to lists in the setter. * :ghpull:`18226`: Use CallbackRegistry in Widgets and some related cleanup -* :ghpull:`18203`: Force locator and formatter inheritence +* :ghpull:`18203`: Force locator and formatter inheritance * :ghpull:`18279`: boxplot: Add conf_intervals reference to notch docs. -* :ghpull:`18276`: Fix autoscaling to exclude inifinite data limits when possible. +* :ghpull:`18276`: Fix autoscaling to exclude infinite data limits when possible. * :ghpull:`18261`: Migrate tk backend tests into subprocesses * :ghpull:`17961`: DOCS: Remove How-to: Contributing * :ghpull:`18201`: Remove mpl.colors deprecations for 3.4 @@ -964,7 +964,7 @@ Pull Requests (772): * :ghpull:`17697`: Add description examples/pyplots/pyplot simple.py * :ghpull:`17694`: CI: Only skip devdocs deploy if PR is to this repo. * :ghpull:`17691`: ci: Print out reasons for not deploying docs. -* :ghpull:`17099`: Make Spines accessable by the attributes. +* :ghpull:`17099`: Make Spines accessible by the attributes Issues (204): @@ -1044,7 +1044,7 @@ Issues (204): * :ghissue:`19099`: axisartist axis_direction bug * :ghissue:`19171`: 3D surface example bug for non-square grid * :ghissue:`18112`: set_{x,y,z}bound 3d limits are not persistent upon interactive rotation -* :ghissue:`19078`: _update_patch_limits should not use CLOSEPOLY verticies for updating +* :ghissue:`19078`: _update_patch_limits should not use CLOSEPOLY vertices for updating * :ghissue:`16123`: test_dpi_ratio_change fails on Windows/Qt5Agg * :ghissue:`15796`: [DOC] PDF build of matplotlib own documentation crashes with LaTeX error "too deeply nested" * :ghissue:`19091`: 3D Axes don't work in SubFigures @@ -1091,13 +1091,13 @@ Issues (204): * :ghissue:`18641`: Conversion cache cleaning is broken with xdist * :ghissue:`15614`: named color examples need borders * :ghissue:`5519`: The linestyle 'None', ' ' and '' not supported by PathPatch. -* :ghissue:`17487`: Polygon selector with useblit=True - polygon dissapears +* :ghissue:`17487`: Polygon selector with useblit=True - polygon disappears * :ghissue:`17476`: RectangleSelector fails to clear itself after being toggled inactive and then back to active. * :ghissue:`18600`: plt.errorbar raises error when given marker= * :ghissue:`18355`: Optional components required to build docs aren't documented * :ghissue:`18428`: small bug in the mtplotlib gallery * :ghissue:`4438`: inconsistent behaviour of the errorevery option in pyplot.errorbar() to the markevery keyword -* :ghissue:`5823`: pleas dont include the Google Analytics tracking in the off-line doc +* :ghissue:`5823`: please don't include the Google Analytics tracking in the off-line doc * :ghissue:`13035`: Path3DCollection from 3D scatter cannot set_color * :ghissue:`9725`: scatter - set_facecolors is not working on Axes3D * :ghissue:`3370`: Patch3DCollection doesn't update color after calling set_color @@ -1123,12 +1123,12 @@ Issues (204): * :ghissue:`17712`: constrained_layout fails on suptitle+colorbars+some figure sizes * :ghissue:`14638`: colorbar.make_axes doesn't anchor in constrained_layout * :ghissue:`18299`: New configure_subplots behaves badly on TkAgg backend -* :ghissue:`18300`: Remove the examples category "Our Favorite Recipies" +* :ghissue:`18300`: Remove the examples category "Our Favorite Recipes" * :ghissue:`18077`: Imshow breaks if given a unyt_array input * :ghissue:`7074`: Using a linestyle cycler with plt.errorbar results in strange plots * :ghissue:`18236`: FuncAnimation fails to display with interval 0 on Tkagg backend * :ghissue:`8107`: invalid command name "..._on_timer" in FuncAnimation for (too) small interval -* :ghissue:`18272`: Add CI Intervall to boxplot notch documentation +* :ghissue:`18272`: Add CI Interval to boxplot notch documentation * :ghissue:`18137`: axhspan() in empty plots changes the xlimits of plots sharing the X axis * :ghissue:`18246`: test_never_update is flaky * :ghissue:`5856`: Horizontal stem plot @@ -1146,7 +1146,7 @@ Issues (204): * :ghissue:`12198`: axvline incorrectly tries to handle unitized ymin, ymax * :ghissue:`9139`: Python3 matplotlib 2.0.2 with Times New Roman misses unicode minus sign in pdf * :ghissue:`5970`: pyplot.scatter raises obscure error when mistakenly passed a third string param -* :ghissue:`17936`: documenattion and behavior do not match for suppressing (PDF) metadata +* :ghissue:`17936`: documentation and behavior do not match for suppressing (PDF) metadata * :ghissue:`17932`: latex textrm does not work in Cairo backend * :ghissue:`17714`: Universal fullscreen command * :ghissue:`4584`: ColorbarBase draws edges in slightly wrong positions. @@ -1161,7 +1161,7 @@ Issues (204): * :ghissue:`15821`: Should constrained_layout work as plt.figure() argument? * :ghissue:`15616`: Colormaps should have a ``_repr_html_`` that is an image of the colormap * :ghissue:`17579`: ``BoundaryNorm`` yield a ``ZeroDivisionError: division by zero`` -* :ghissue:`17652`: NEP 29 : Stop support fro Python 3.6 soon ? +* :ghissue:`17652`: NEP 29 : Stop support for Python 3.6 soon ? * :ghissue:`11095`: Repeated plot calls with xunits=None throws exception * :ghissue:`17733`: Rename "array" (and perhaps "fields") section of Axes API * :ghissue:`15610`: Link to most recent DevDocs when installing from Master Source diff --git a/doc/users/prev_whats_new/github_stats_3.4.2.rst b/doc/users/prev_whats_new/github_stats_3.4.2.rst index 22b4797c2fc2..d16a69b43151 100644 --- a/doc/users/prev_whats_new/github_stats_3.4.2.rst +++ b/doc/users/prev_whats_new/github_stats_3.4.2.rst @@ -146,7 +146,7 @@ Issues (21): * :ghissue:`19960`: Failed to init RangeSlider with valinit attribute * :ghissue:`19736`: subplot_mosaic axes are not added in consistent order * :ghissue:`19979`: Blank EPS figures if plot contains 'd' -* :ghissue:`19938`: unuseful deprecation warning figbox +* :ghissue:`19938`: useless deprecation warning figbox * :ghissue:`19958`: subfigures missing bbox_inches attribute in inline backend * :ghissue:`19936`: Errorbars elinewidth raise error when numpy array * :ghissue:`19879`: Using "drawstyle" raises AttributeError in errorbar, when yerr is specified. diff --git a/doc/users/prev_whats_new/github_stats_3.4.3.rst b/doc/users/prev_whats_new/github_stats_3.4.3.rst index b248bf69b6ef..ff98041e2d72 100644 --- a/doc/users/prev_whats_new/github_stats_3.4.3.rst +++ b/doc/users/prev_whats_new/github_stats_3.4.3.rst @@ -119,7 +119,7 @@ Issues (22): * :ghissue:`20628`: Out-of-bounds read leads to crash or broken TrueType fonts * :ghissue:`20612`: Broken EPS for Type 42 STIX * :ghissue:`19982`: regression for 3.4.x - ax.figbox replacement incompatible to all version including 3.3.4 -* :ghissue:`19938`: unuseful deprecation warning figbox +* :ghissue:`19938`: useless deprecation warning figbox * :ghissue:`16400`: Inconsistent behavior between Normalizers when input is Dataframe * :ghissue:`20583`: Lost class descriptions since 3.4 docs * :ghissue:`20551`: set_segments(get_segments()) makes lines coarse diff --git a/doc/users/prev_whats_new/github_stats_3.5.0.rst b/doc/users/prev_whats_new/github_stats_3.5.0.rst index bde4d917b38b..c39b614e7bad 100644 --- a/doc/users/prev_whats_new/github_stats_3.5.0.rst +++ b/doc/users/prev_whats_new/github_stats_3.5.0.rst @@ -1121,7 +1121,7 @@ Issues (187): * :ghissue:`20847`: [Bug]: Contourf not filling contours. * :ghissue:`21300`: [Bug]: zooming in on contour plot gives false extra contour lines * :ghissue:`21466`: [Bug]: EPS export shows hidden tick labels when using tex for text rendering -* :ghissue:`21463`: [Bug]: Plotting lables with Greek latters in math mode produces Parsing error when plt.show() runs +* :ghissue:`21463`: [Bug]: Plotting labels with Greek latters in math mode produces Parsing error when plt.show() runs * :ghissue:`20534`: Document formatting for sections * :ghissue:`21246`: [Doc]: Install info takes up too much room on new front page * :ghissue:`21432`: [Doc]: Double clicking parameter name also highlights next item of text @@ -1157,7 +1157,7 @@ Issues (187): * :ghissue:`16251`: API changes are too hard to find in the rendered docs * :ghissue:`20770`: [Doc]: How to replicate behaviour of ``plt.gca(projection=...)``? * :ghissue:`17052`: Colorbar update error with clim change in multi_image.py example -* :ghissue:`4387`: make ``Normalize`` objects notifiy scalar-mappables on changes +* :ghissue:`4387`: make ``Normalize`` objects notify scalar-mappables on changes * :ghissue:`20001`: rename fig.draw_no_output * :ghissue:`20936`: [Bug]: edgecolor 'auto' doesn't work properly * :ghissue:`20909`: [Bug]: Animation error message @@ -1241,7 +1241,7 @@ Issues (187): * :ghissue:`17508`: Quadmesh.set_array should validate dimensions * :ghissue:`20372`: Incorrect axes positioning in axes_grid.Grid with direction='column' * :ghissue:`19419`: Dev version hard to check -* :ghissue:`17310`: Matplotlib git master version fails to pass serveral pytest's tests. +* :ghissue:`17310`: Matplotlib git master version fails to pass several pytest's tests * :ghissue:`7742`: plot_date() after axhline() doesn't rescale axes * :ghissue:`20322`: QuadMesh default for shading inadvertently changed. * :ghissue:`9653`: SVG savefig + LaTeX extremely slow on macOS diff --git a/doc/users/prev_whats_new/github_stats_3.5.1.rst b/doc/users/prev_whats_new/github_stats_3.5.1.rst index 7eb37b769d6c..626cf319c23c 100644 --- a/doc/users/prev_whats_new/github_stats_3.5.1.rst +++ b/doc/users/prev_whats_new/github_stats_3.5.1.rst @@ -131,7 +131,7 @@ Issues (29): * :ghissue:`21803`: [Bug]: using ``set_offsets`` on scatter object raises TypeError * :ghissue:`21839`: [Bug]: Top of plot clipped when using Subfigures without suptitle * :ghissue:`21841`: [Bug]: Wrong tick labels and colorbar of discrete normalizer -* :ghissue:`21783`: [MNT]: wheel of 3.5.0 apears to depend on setuptools-scm which apears to be unintentional +* :ghissue:`21783`: [MNT]: wheel of 3.5.0 appears to depend on setuptools-scm which appears to be unintentional * :ghissue:`21733`: [Bug]: Possible bug on arrows in annotation * :ghissue:`21749`: [Bug]: Regression on ``tight_layout`` when manually adding axes for colorbars * :ghissue:`19197`: Unexpected error after using Figure.canvas.draw on macosx backend diff --git a/doc/users/prev_whats_new/whats_new_3.10.0.rst b/doc/users/prev_whats_new/whats_new_3.10.0.rst index 06282cedad9a..f1231be53cc4 100644 --- a/doc/users/prev_whats_new/whats_new_3.10.0.rst +++ b/doc/users/prev_whats_new/whats_new_3.10.0.rst @@ -329,7 +329,9 @@ In the following example the norm and cmap are changed on multiple plots simulta colorizer.vmax = 2 colorizer.cmap = 'RdBu' -All plotting methods that use a data-to-color pipeline now create a colorizer object if one is not provided. This can be re-used by subsequent artists such that they will share a single data-to-color pipeline: +All plotting methods that use a data-to-color pipeline now create a colorizer object if +one is not provided. This can be reused by subsequent artists such that they will share +a single data-to-color pipeline: .. plot:: :include-source: true diff --git a/lib/matplotlib/axes/_base.py b/lib/matplotlib/axes/_base.py index 87d42b4d3014..e5175ea8761c 100644 --- a/lib/matplotlib/axes/_base.py +++ b/lib/matplotlib/axes/_base.py @@ -897,7 +897,7 @@ def _request_autoscale_view(self, axis="all", tight=None): Mark a single axis, or all of them, as stale wrt. autoscaling. No computation is performed until the next autoscaling; thus, separate - calls to control individual axises incur negligible performance cost. + calls to control individual `Axis`s incur negligible performance cost. Parameters ---------- diff --git a/lib/matplotlib/tests/test_triangulation.py b/lib/matplotlib/tests/test_triangulation.py index 337443eb1e27..ae065a231fd9 100644 --- a/lib/matplotlib/tests/test_triangulation.py +++ b/lib/matplotlib/tests/test_triangulation.py @@ -612,7 +612,7 @@ def test_triinterpcubic_cg_solver(): # 1) A commonly used test involves a 2d Poisson matrix. def poisson_sparse_matrix(n, m): """ - Return the sparse, (n*m, n*m) matrix in coo format resulting from the + Return the sparse, (n*m, n*m) matrix in COO format resulting from the discretisation of the 2-dimensional Poisson equation according to a finite difference numerical scheme on a uniform (n, m) grid. """ diff --git a/lib/matplotlib/tri/_triinterpolate.py b/lib/matplotlib/tri/_triinterpolate.py index 90ad6cf3a76c..2dc62770c7ed 100644 --- a/lib/matplotlib/tri/_triinterpolate.py +++ b/lib/matplotlib/tri/_triinterpolate.py @@ -928,7 +928,7 @@ def get_Kff_and_Ff(self, J, ecc, triangles, Uc): Returns ------- - (Kff_rows, Kff_cols, Kff_vals) Kff matrix in coo format - Duplicate + (Kff_rows, Kff_cols, Kff_vals) Kff matrix in COO format - Duplicate (row, col) entries must be summed. Ff: force vector - dim npts * 3 """ @@ -961,12 +961,12 @@ def get_Kff_and_Ff(self, J, ecc, triangles, Uc): # [ Kcf Kff ] # * As F = K x U one gets straightforwardly: Ff = - Kfc x Uc - # Computing Kff stiffness matrix in sparse coo format + # Computing Kff stiffness matrix in sparse COO format Kff_vals = np.ravel(K_elem[np.ix_(vec_range, f_dof, f_dof)]) Kff_rows = np.ravel(f_row_indices[np.ix_(vec_range, f_dof, f_dof)]) Kff_cols = np.ravel(f_col_indices[np.ix_(vec_range, f_dof, f_dof)]) - # Computing Ff force vector in sparse coo format + # Computing Ff force vector in sparse COO format Kfc_elem = K_elem[np.ix_(vec_range, f_dof, c_dof)] Uc_elem = np.expand_dims(Uc, axis=2) Ff_elem = -(Kfc_elem @ Uc_elem)[:, :, 0] @@ -1178,7 +1178,7 @@ def compute_dz(self): triangles = self._triangles Uc = self.z[self._triangles] - # Building stiffness matrix and force vector in coo format + # Building stiffness matrix and force vector in COO format Kff_rows, Kff_cols, Kff_vals, Ff = reference_element.get_Kff_and_Ff( J, eccs, triangles, Uc) @@ -1215,7 +1215,7 @@ def compute_dz(self): class _Sparse_Matrix_coo: def __init__(self, vals, rows, cols, shape): """ - Create a sparse matrix in coo format. + Create a sparse matrix in COO format. *vals*: arrays of values of non-null entries of the matrix *rows*: int arrays of rows of non-null entries of the matrix *cols*: int arrays of cols of non-null entries of the matrix pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy