Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e0b7cc7

Browse files
committed
DOC: remove redundant example reference in docstring
1 parent 5687579 commit e0b7cc7

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

examples/subplots_axes_and_figures/axes_margins.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def f(t):
5454
(0.25, 2.75), (3.25, 2.75),
5555
(2.25, 0.75), (0.25, 0.75)
5656
]
57-
fig, (ax1, ax2) = plt.subplots(ncols=2)
57+
fig, (ax1, ax2) = plt.subplots(ncols=2)
5858

5959
# Here we set the stickiness of the axes object...
6060
# ax1 we'll leave as the default, which uses sticky edges

lib/matplotlib/axes/_base.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2275,8 +2275,6 @@ def margins(self, *margins, x=None, y=None, tight=True):
22752275
margins to be set, set :attr:`use_sticky_edges` to `False`
22762276
before calling :meth:`margins`.
22772277
2278-
.. plot:: gallery/subplots_axes_and_figures/axes_margins.py
2279-
22802278
"""
22812279

22822280
if margins and x is not None and y is not None:

0 commit comments

Comments
 (0)