|
5 | 5 | unicode_literals) |
6 | 6 |
|
7 | 7 | from matplotlib import docstring |
| 8 | +from matplotlib.externals import six |
8 | 9 | from matplotlib.offsetbox import AnchoredOffsetbox |
9 | 10 | from matplotlib.patches import Patch, Rectangle |
10 | 11 | from matplotlib.path import Path |
@@ -157,8 +158,9 @@ def __init__(self, bbox, **kwargs): |
157 | 158 | bbox : `matplotlib.transforms.Bbox` |
158 | 159 | Bbox to use for the extents of this patch. |
159 | 160 |
|
160 | | - The kwargs are Patch properties: |
161 | | - %(Patch)s |
| 161 | + **kwargs |
| 162 | + Patch properties. Valid arguments include: |
| 163 | + %(Patch)s |
162 | 164 | """ |
163 | 165 | if "transform" in kwargs: |
164 | 166 | raise ValueError("transform should not be set") |
@@ -302,8 +304,9 @@ def __init__(self, bbox1, bbox2, loc1, loc2=None, **kwargs): |
302 | 304 | 'lower left' : 3, |
303 | 305 | 'lower right' : 4 |
304 | 306 |
|
305 | | - The kwargs are Patch properties for the line drawn: |
306 | | - %(Patch)s |
| 307 | + **kwargs |
| 308 | + Patch properties for the line drawn. Valid arguments include: |
| 309 | + %(Patch)s |
307 | 310 | """ |
308 | 311 | if "transform" in kwargs: |
309 | 312 | raise ValueError("transform should not be set") |
@@ -355,8 +358,9 @@ def __init__(self, bbox1, bbox2, loc1a, loc2a, loc1b, loc2b, **kwargs): |
355 | 358 | 'lower left' : 3, |
356 | 359 | 'lower right' : 4 |
357 | 360 |
|
358 | | - The kwargs are Patch properties for the line drawn: |
359 | | - %(Patch)s |
| 361 | + **kwargs |
| 362 | + Patch properties for the line drawn: |
| 363 | + %(Patch)s |
360 | 364 | """ |
361 | 365 | if "transform" in kwargs: |
362 | 366 | raise ValueError("transform should not be set") |
@@ -564,8 +568,9 @@ def mark_inset(parent_axes, inset_axes, loc1, loc2, **kwargs): |
564 | 568 | Corners to use for connecting the inset axes and the area in the |
565 | 569 | parent axes. |
566 | 570 |
|
567 | | - The kwargs are Patch properties for the lines and box drawn: |
568 | | - %(Patch)s |
| 571 | + **kwargs |
| 572 | + Patch properties for the lines and box drawn: |
| 573 | + %(Patch)s |
569 | 574 |
|
570 | 575 | Returns |
571 | 576 | ------- |
|
0 commit comments