@@ -14,7 +14,7 @@ def __init__(self, width, height, xdescent, ydescent,
14
14
loc , pad = 0.4 , borderpad = 0.5 , prop = None , frameon = True ,
15
15
** kwargs ):
16
16
"""
17
- An anchored container with a fixed size and fillable DrawingArea.
17
+ An anchored container with a fixed size and fillable `. DrawingArea` .
18
18
19
19
Artists added to the *drawing_area* will have their coordinates
20
20
interpreted as pixels. Any transformations set on the artists will be
@@ -37,16 +37,16 @@ def __init__(self, width, height, xdescent, ydescent,
37
37
Padding around the child objects, in fraction of the font size.
38
38
borderpad : float, default: 0.5
39
39
Border padding, in fraction of the font size.
40
- prop : `matplotlib.font_manager.FontProperties`, optional
40
+ prop : `~ matplotlib.font_manager.FontProperties`, optional
41
41
Font property used as a reference for paddings.
42
42
frameon : bool, default: True
43
- If True, draw a box around this artists .
43
+ If True, draw a box around this artist .
44
44
**kwargs
45
45
Keyword arguments forwarded to `.AnchoredOffsetbox`.
46
46
47
47
Attributes
48
48
----------
49
- drawing_area : `matplotlib.offsetbox.DrawingArea`
49
+ drawing_area : `~ matplotlib.offsetbox.DrawingArea`
50
50
A container for artists to display.
51
51
52
52
Examples
@@ -81,7 +81,7 @@ def __init__(self, transform, loc,
81
81
82
82
Parameters
83
83
----------
84
- transform : `matplotlib.transforms.Transform`
84
+ transform : `~ matplotlib.transforms.Transform`
85
85
The transformation object for the coordinate system in use, i.e.,
86
86
:attr:`matplotlib.axes.Axes.transData`.
87
87
loc : str
@@ -95,16 +95,16 @@ def __init__(self, transform, loc,
95
95
Padding around the child objects, in fraction of the font size.
96
96
borderpad : float, default: 0.5
97
97
Border padding, in fraction of the font size.
98
- prop : `matplotlib.font_manager.FontProperties`, optional
98
+ prop : `~ matplotlib.font_manager.FontProperties`, optional
99
99
Font property used as a reference for paddings.
100
100
frameon : bool, default: True
101
- If True, draw a box around this artists .
101
+ If True, draw a box around this artist .
102
102
**kwargs
103
103
Keyword arguments forwarded to `.AnchoredOffsetbox`.
104
104
105
105
Attributes
106
106
----------
107
- drawing_area : `matplotlib.offsetbox.AuxTransformBox`
107
+ drawing_area : `~ matplotlib.offsetbox.AuxTransformBox`
108
108
A container for artists to display.
109
109
110
110
Examples
@@ -132,7 +132,7 @@ def __init__(self, transform, width, height, angle, loc,
132
132
133
133
Parameters
134
134
----------
135
- transform : `matplotlib.transforms.Transform`
135
+ transform : `~ matplotlib.transforms.Transform`
136
136
The transformation object for the coordinate system in use, i.e.,
137
137
:attr:`matplotlib.axes.Axes.transData`.
138
138
width, height : float
@@ -153,14 +153,14 @@ def __init__(self, transform, width, height, angle, loc,
153
153
Border padding, in fraction of the font size.
154
154
frameon : bool, default: True
155
155
If True, draw a box around the ellipse.
156
- prop : `matplotlib.font_manager.FontProperties`, optional
156
+ prop : `~ matplotlib.font_manager.FontProperties`, optional
157
157
Font property used as a reference for paddings.
158
158
**kwargs
159
159
Keyword arguments forwarded to `.AnchoredOffsetbox`.
160
160
161
161
Attributes
162
162
----------
163
- ellipse : `matplotlib.patches.Ellipse`
163
+ ellipse : `~ matplotlib.patches.Ellipse`
164
164
Ellipse patch drawn.
165
165
"""
166
166
self ._box = AuxTransformBox (transform )
@@ -182,7 +182,7 @@ def __init__(self, transform, size, label, loc,
182
182
183
183
Parameters
184
184
----------
185
- transform : `matplotlib.transforms.Transform`
185
+ transform : `~ matplotlib.transforms.Transform`
186
186
The transformation object for the coordinate system in use, i.e.,
187
187
:attr:`matplotlib.axes.Axes.transData`.
188
188
size : float
@@ -213,7 +213,7 @@ def __init__(self, transform, size, label, loc,
213
213
Color for the size bar and label.
214
214
label_top : bool, default: False
215
215
If True, the label will be over the size bar.
216
- fontproperties : `matplotlib.font_manager.FontProperties`, optional
216
+ fontproperties : `~ matplotlib.font_manager.FontProperties`, optional
217
217
Font properties for the label text.
218
218
fill_bar : bool, optional
219
219
If True and if *size_vertical* is nonzero, the size bar will
@@ -225,15 +225,15 @@ def __init__(self, transform, size, label, loc,
225
225
226
226
Attributes
227
227
----------
228
- size_bar : `matplotlib.offsetbox.AuxTransformBox`
228
+ size_bar : `~ matplotlib.offsetbox.AuxTransformBox`
229
229
Container for the size bar.
230
- txt_label : `matplotlib.offsetbox.TextArea`
230
+ txt_label : `~ matplotlib.offsetbox.TextArea`
231
231
Container for the label of the size bar.
232
232
233
233
Notes
234
234
-----
235
235
If *prop* is passed as a keyword argument, but *fontproperties* is
236
- not, then *prop* is be assumed to be the intended *fontproperties*.
236
+ not, then *prop* is assumed to be the intended *fontproperties*.
237
237
Using both *prop* and *fontproperties* is not supported.
238
238
239
239
Examples
@@ -301,7 +301,7 @@ def __init__(self, transform, label_x, label_y, length=0.15,
301
301
302
302
Parameters
303
303
----------
304
- transform : `matplotlib.transforms.Transform`
304
+ transform : `~ matplotlib.transforms.Transform`
305
305
The transformation object for the coordinate system in use, i.e.,
306
306
:attr:`matplotlib.axes.Axes.transAxes`.
307
307
label_x, label_y : str
@@ -335,7 +335,7 @@ def __init__(self, transform, label_x, label_y, length=0.15,
335
335
sep_x, sep_y : float, default: 0.01 and 0 respectively
336
336
Separation between the arrows and labels in coordinates of
337
337
*transform*.
338
- fontproperties : `matplotlib.font_manager.FontProperties`, optional
338
+ fontproperties : `~ matplotlib.font_manager.FontProperties`, optional
339
339
Font properties for the label text.
340
340
back_length : float, default: 0.15
341
341
Fraction of the arrow behind the arrow crossing.
@@ -347,25 +347,25 @@ def __init__(self, transform, label_x, label_y, length=0.15,
347
347
Width of arrow tail, sent to ArrowStyle.
348
348
text_props, arrow_props : dict
349
349
Properties of the text and arrows, passed to
350
- `.textpath.TextPath` and `.patches.FancyArrowPatch`.
350
+ `~ .textpath.TextPath` and `~ .patches.FancyArrowPatch`.
351
351
**kwargs
352
352
Keyword arguments forwarded to `.AnchoredOffsetbox`.
353
353
354
354
Attributes
355
355
----------
356
- arrow_x, arrow_y : `matplotlib.patches.FancyArrowPatch`
356
+ arrow_x, arrow_y : `~ matplotlib.patches.FancyArrowPatch`
357
357
Arrow x and y
358
- text_path_x, text_path_y : `matplotlib.textpath.TextPath`
358
+ text_path_x, text_path_y : `~ matplotlib.textpath.TextPath`
359
359
Path for arrow labels
360
- p_x, p_y : `matplotlib.patches.PathPatch`
360
+ p_x, p_y : `~ matplotlib.patches.PathPatch`
361
361
Patch for arrow labels
362
- box : `matplotlib.offsetbox.AuxTransformBox`
362
+ box : `~ matplotlib.offsetbox.AuxTransformBox`
363
363
Container for the arrows and labels.
364
364
365
365
Notes
366
366
-----
367
367
If *prop* is passed as a keyword argument, but *fontproperties* is
368
- not, then *prop* is be assumed to be the intended *fontproperties*.
368
+ not, then *prop* is assumed to be the intended *fontproperties*.
369
369
Using both *prop* and *fontproperties* is not supported.
370
370
371
371
Examples
0 commit comments