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

Skip to content

Document mpl_toolkits.axes_grid1.anchored_artists #4874

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Dec 26, 2015
Prev Previous commit
Next Next commit
Add attributes doc for AnchoredSizeBar and AnchoredEllipse in axes_grid1
  • Loading branch information
sargas committed Dec 16, 2015
commit 8ee87079c4cb7f68aedc135cf7e49e00bf2db413
13 changes: 13 additions & 0 deletions lib/mpl_toolkits/axes_grid1/anchored_artists.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,11 @@ def __init__(self, transform, width, height, angle, loc,
**kwargs :
Keyworded arguments to pass to
:class:`matplotlib.offsetbox.AnchoredOffsetbox`.

Attributes
----------
ellipse : `matplotlib.patches.Ellipse`
Ellipse patch drawn.
"""
self._box = AuxTransformBox(transform)
self.ellipse = Ellipse((0, 0), width, height, angle)
Expand Down Expand Up @@ -173,6 +178,14 @@ def __init__(self, transform, size, label, loc,
Keyworded arguments to pass to
:class:`matplotlib.offsetbox.AnchoredOffsetbox`.

Attributes
----------
size_bar : `matplotlib.offsetbox.AuxTransformBox`
Container for the size bar.

txt_label : `matplotlib.offsetbox.TextArea`
Container for the label of the size bar.

Notes
-----
If *prop* is passed as a keyworded argument, but *fontproperties* is
Expand Down