Skip to content

Commit 4ee99e3

Browse files
committed
Correct and improve examples
1 parent 6dd30a2 commit 4ee99e3

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

examples/axes_grid1/inset_locator_demo2.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
"""
2-
===================
3-
Inset Locator Demo2
4-
===================
2+
====================
3+
Inset Locator Demo 2
4+
====================
55
66
This Demo shows how to create a zoomed inset via `.zoomed_inset_axes`.
77
In the first subplot an `.AnchoredSizeBar` shows the zoom effect.
88
In the second subplot a connection to the region of interest is
99
created via `.mark_inset`.
10+
11+
A version of the second subplot, not using the toolkit, is available in
12+
:doc:`/gallery/subplots_axes_and_figures/zoom_inset_axes`.
1013
"""
1114

1215
from matplotlib import cbook

examples/axisartist/demo_floating_axes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
the plot.
1010
* Using `~.floating_axes.GridHelperCurveLinear` to rotate the plot and set the
1111
plot boundary.
12-
* Using `~.floating_axes.FloatingSubplot` to create a subplot using the return
13-
value from `~.floating_axes.GridHelperCurveLinear`.
12+
* Using `~.Figure.add_subplot` to create a subplot using the return value from
13+
`~.floating_axes.GridHelperCurveLinear`.
1414
* Making a sector plot by adding more features to
1515
`~.floating_axes.GridHelperCurveLinear`.
1616
"""

0 commit comments

Comments
 (0)