Skip to content

DOC: fix typos #29346

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/api/next_api_changes/removals/20866-JKS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ ttconv removed
~~~~~~~~~~~~~~

The ``matplotlib._ttconv`` extension has been removed. Most of its
functionaliy was already replaced by other code, and the only thing left
functionality was already replaced by other code, and the only thing left
was embedding TTF fonts in PostScript in Type 42 format. This is now
done in the PS backend using the FontTools library.
2 changes: 1 addition & 1 deletion doc/api/prev_api_changes/api_changes_3.1.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ The following miscellaneous API elements have been removed
logger = logging.getLogger('matplotlib')
logger.setLevel(logging.INFO)
# configure log handling: Either include it into your ``logging`` hierarchy,
# e.g. by configuring a root looger using ``logging.basicConfig()``,
# e.g. by configuring a root logger using ``logging.basicConfig()``,
# or add a standalone handler to the matplotlib logger:
logger.addHandler(logging.StreamHandler())

Expand Down
2 changes: 1 addition & 1 deletion lib/matplotlib/axes/_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -1068,7 +1068,7 @@ def get_yaxis_text2_transform(self, pad_points):
Returns
-------
transform : Transform
The transform used for drawing secondart y-axis labels, which will
The transform used for drawing secondary y-axis labels, which will
add *pad_points* of padding (in points) between the axis and the
label. The x-direction is in axis coordinates and the y-direction
is in data coordinates
Expand Down
2 changes: 1 addition & 1 deletion lib/matplotlib/sphinxext/plot_directive.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

import matplotlib.pyplot as plt
plt.plot([1, 2, 3], [4, 5, 6])
plt.title("A plotting exammple")
plt.title("A plotting example")

3. Using **doctest** syntax::

Expand Down
2 changes: 1 addition & 1 deletion lib/matplotlib/tests/test_colorbar.py
Original file line number Diff line number Diff line change
Expand Up @@ -1208,7 +1208,7 @@ def test_colorbar_errors(kwargs, error, message):
fig.colorbar(im, **kwargs)


def test_colorbar_axes_parmeters():
def test_colorbar_axes_parameters():
fig, ax = plt.subplots(2)
im = ax[0].imshow([[0, 1], [2, 3]])
# colorbar should accept any form of axes sequence:
Expand Down
2 changes: 1 addition & 1 deletion lib/matplotlib/tests/test_widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -1599,7 +1599,7 @@ def test_polygon_selector_redraw(ax, draw_bounding_box):
for (etype, event_args) in event_sequence:
do_event(tool, etype, **event_args)
# After removing two verts, only one remains, and the
# selector should be automatically resete
# selector should be automatically reset
assert tool.verts == verts[0:2]


Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ dev = [
"setuptools_scm>=7",
# Not required by us but setuptools_scm without a version, cso _if_
# installed, then setuptools_scm 8 requires at least this version.
# Unfortunately, we can't do a sort of minimum-if-instaled dependency, so
# Unfortunately, we can't do a sort of minimum-if-installed dependency, so
# we need to keep this for now until setuptools_scm _fully_ drops
# setuptools.
"setuptools>=64",
Expand Down
Loading