DOC: fix typos · matplotlib/matplotlib@fe9618d · GitHub
Skip to content

Commit fe9618d

Browse files
committed
DOC: fix typos
Closes #29313.
1 parent dc63ec7 commit fe9618d

7 files changed

Lines changed: 7 additions & 7 deletions

File tree

doc/api/next_api_changes/removals/20866-JKS.rst

Lines changed: 1 addition & 1 deletion

doc/api/prev_api_changes/api_changes_3.1.0.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@ The following miscellaneous API elements have been removed
533533
logger = logging.getLogger('matplotlib')
534534
logger.setLevel(logging.INFO)
535535
# configure log handling: Either include it into your ``logging`` hierarchy,
536-
# e.g. by configuring a root looger using ``logging.basicConfig()``,
536+
# e.g. by configuring a root logger using ``logging.basicConfig()``,
537537
# or add a standalone handler to the matplotlib logger:
538538
logger.addHandler(logging.StreamHandler())
539539

lib/matplotlib/axes/_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1068,7 +1068,7 @@ def get_yaxis_text2_transform(self, pad_points):
10681068
Returns
10691069
-------
10701070
transform : Transform
1071-
The transform used for drawing secondart y-axis labels, which will
1071+
The transform used for drawing secondary y-axis labels, which will
10721072
add *pad_points* of padding (in points) between the axis and the
10731073
label. The x-direction is in axis coordinates and the y-direction
10741074
is in data coordinates

lib/matplotlib/sphinxext/plot_directive.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
3333
import matplotlib.pyplot as plt
3434
plt.plot([1, 2, 3], [4, 5, 6])
35-
plt.title("A plotting exammple")
35+
plt.title("A plotting example")
3636
3737
3. Using **doctest** syntax::
3838

lib/matplotlib/tests/test_colorbar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1208,7 +1208,7 @@ def test_colorbar_errors(kwargs, error, message):
12081208
fig.colorbar(im, **kwargs)
12091209

12101210

1211-
def test_colorbar_axes_parmeters():
1211+
def test_colorbar_axes_parameters():
12121212
fig, ax = plt.subplots(2)
12131213
im = ax[0].imshow([[0, 1], [2, 3]])
12141214
# colorbar should accept any form of axes sequence:

lib/matplotlib/tests/test_widgets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1599,7 +1599,7 @@ def test_polygon_selector_redraw(ax, draw_bounding_box):
15991599
for (etype, event_args) in event_sequence:
16001600
do_event(tool, etype, **event_args)
16011601
# After removing two verts, only one remains, and the
1602-
# selector should be automatically resete
1602+
# selector should be automatically reset
16031603
assert tool.verts == verts[0:2]
16041604

16051605

pyproject.toml

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)