Skip to content

Commit 50f39de

Browse files
timhoffmrcomer
andauthored
Apply suggestions from code review
Co-authored-by: Ruth Comer <10599679+rcomer@users.noreply.github.com>
1 parent 1b42ab2 commit 50f39de

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

galleries/users_explain/axes/autoscale.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@
130130
#
131131
# Let's say that we want to see only a part of the data in
132132
# greater detail. Setting the ``xlim`` persists even if we add more curves to
133-
# the data. Calling `.Axes.autoscale` will again re-enable the autoscaling and
133+
# the data. Calling `.Axes.autoscale` will re-enable the autoscaling and
134134
# recalculate the limits to fit all the data.
135135

136136
fig, ax = plt.subplots(ncols=2, figsize=(12, 8))

lib/matplotlib/axes/_base.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3022,11 +3022,11 @@ def autoscale(self, enable=True, axis='both', tight=None):
30223022
"""
30233023
Autoscale the axis view to the data (toggle).
30243024
3025-
Convenience method for simple axis view autoscaling. This does:
3025+
Convenience method for simple axis view autoscaling. This:
30263026
3027-
- Turn autoscaling on or off (`~.axes.Axes.set_autoscalex_on` /
3027+
- Turns autoscaling on or off (`~.axes.Axes.set_autoscalex_on` /
30283028
`~.axes.Axes.set_autoscaley_on`).
3029-
- Ensure that view limits will get updated when needed. - As view limits
3029+
- Ensures that view limits will get updated when needed. - As view limits
30303030
are lazy-updated, this technically marks the view limits as stale.
30313031
30323032
Parameters

0 commit comments

Comments
 (0)