8000 Merge pull request #4874 from sargas/cleanup-anchored-artists · matplotlib/matplotlib@ef06f5f · GitHub
[go: up one dir, main page]

Skip to content

Commit ef06f5f

Browse files
jenshnielsenQuLogic
authored andcommitted
Merge pull request #4874 from sargas/cleanup-anchored-artists
Document mpl_toolkits.axes_grid1.anchored_artists Conflicts: lib/mpl_toolkits/axes_grid1/anchored_artists.py Note that the removed imports were restored for this backport so as to not break the API for 2.0. Whether they really should be moved or not is a matter for a different PR.
1 parent f4152ce commit ef06f5f

File tree

4 files changed

+263
-119
lines changed

4 files changed

+263
-119
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
:mod:`mpl_toolkits.axes_grid1.anchored_artists`
2+
===============================================
3+
4+
.. automodule:: mpl_toolkits.axes_grid1.anchored_artists
5+
:members:
6+
:undoc-members:
7+
:show-inheritance:

doc/mpl_toolkits/axes_grid/api/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,5 @@
2424

2525
.. toctree::
2626

27+
anchored_artists_api.rst
2728
inset_locator_api.rst

examples/axes_grid/simple_anchored_artists.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33

44
def draw_text(ax):
5-
from mpl_toolkits.axes_grid1.anchored_artists import AnchoredText
5+
from matplotlib.offsetbox import AnchoredText
66
at = AnchoredText("Figure 1a",
77
loc=2, prop=dict(size=8), frameon=True,
88
)

0 commit comments

Comments
 (0)
0