Skip to content

Commit

Permalink
Merge pull request #4874 from sargas/cleanup-anchored-artists
Browse files Browse the repository at this point in the history
Document mpl_toolkits.axes_grid1.anchored_artists
  • Loading branch information
jenshnielsen committed Dec 26, 2015
2 parents f279e5b + 34d1937 commit b6a79ac
Show file tree
Hide file tree
Showing 4 changed files with 264 additions and 119 deletions.
7 changes: 7 additions & 0 deletions doc/mpl_toolkits/axes_grid/api/anchored_artists_api.rst
@@ -0,0 +1,7 @@
:mod:`mpl_toolkits.axes_grid1.anchored_artists`
===============================================

.. automodule:: mpl_toolkits.axes_grid1.anchored_artists
:members:
:undoc-members:
:show-inheritance:
1 change: 1 addition & 0 deletions doc/mpl_toolkits/axes_grid/api/index.rst
Expand Up @@ -24,4 +24,5 @@

.. toctree::

anchored_artists_api.rst
inset_locator_api.rst
2 changes: 1 addition & 1 deletion examples/axes_grid/simple_anchored_artists.py
Expand Up @@ -2,7 +2,7 @@


def draw_text(ax):
from mpl_toolkits.axes_grid1.anchored_artists import AnchoredText
from matplotlib.offsetbox import AnchoredText
at = AnchoredText("Figure 1a",
loc=2, prop=dict(size=8), frameon=True,
)
Expand Down

0 comments on commit b6a79ac

Please sign in to comment.