Skip to content

Commit fbe44d5

Browse files
tacaswellQuLogic
andauthored
DOC: correct typos and markup
Co-authored-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
1 parent d48b87c commit fbe44d5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/matplotlib/tight_bbox.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def restore_bbox():
4141
for ax, loc in zip(fig.axes, locator_list):
4242
ax.set_axes_locator(loc)
4343
# delete our no-op function which un-hides the
44-
# method
44+
# original method
4545
del ax.apply_aspect
4646

4747
fig.bbox = origBbox

lib/mpl_toolkits/mplot3d/axes3d.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -282,14 +282,14 @@ def set_aspect(self, aspect, adjustable=None, anchor=None, share=False):
282282
========= ==================================================
283283
284284
adjustable : None or {'box', 'datalim'}, optional
285-
If not ``None``, this defines which parameter will be adjusted to
285+
If not *None*, this defines which parameter will be adjusted to
286286
meet the required aspect. See `.set_adjustable` for further
287287
details.
288288
289289
Currently ignored by Axes3D
290290
291291
anchor : None or str or 2-tuple of float, optional
292-
If not ``None``, this defines where the Axes will be drawn if there
292+
If not *None*, this defines where the Axes will be drawn if there
293293
is extra space due to aspect constraints. The most common way to
294294
to specify the anchor are abbreviations of cardinal directions:
295295
@@ -357,7 +357,7 @@ def set_box_aspect(self, aspect, *, zoom=1):
357357
physical units. This is not to be confused with the data
358358
aspect, set via `~.Axes.set_aspect`.
359359
360-
The *zoom* is a Axes3D only parameter that controls the overall
360+
The *zoom* is an Axes3D-only parameter that controls the overall
361361
size of the Axes3D in the figure.
362362
363363
Parameters

0 commit comments

Comments
 (0)