Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e0b7cc7

Browse filesBrowse files
committed
DOC: remove redundant example reference in docstring
1 parent 5687579 commit e0b7cc7
Copy full SHA for e0b7cc7

File tree

Expand file treeCollapse file tree

2 files changed

+1
-3
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+1
-3
lines changed

‎examples/subplots_axes_and_figures/axes_margins.py

Copy file name to clipboardExpand all lines: examples/subplots_axes_and_figures/axes_margins.py
+1-1Lines 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

Copy file name to clipboardExpand all lines: lib/matplotlib/axes/_base.py
-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.