Skip to content

Commit

Permalink
DOC: fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
timhoffm committed Dec 18, 2024
1 parent dc63ec7 commit fe9618d
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
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

0 comments on commit fe9618d

Please sign in to comment.