@@ -408,6 +408,8 @@ def __str__(self):
408
408
return "{0}({1[0]:g},{1[1]:g};{1[2]:g}x{1[3]:g})" .format (
409
409
type (self ).__name__ , self ._position .bounds )
410
410
411
+ @docstring .Substitution (scale = ' | ' .join (
412
+ [repr (x ) for x in mscale .get_scale_names ()]))
411
413
def __init__ (self , fig , rect ,
412
414
facecolor = None , # defaults to rc axes.facecolor
413
415
frameon = True ,
@@ -419,10 +421,10 @@ def __init__(self, fig, rect,
419
421
** kwargs
420
422
):
421
423
"""
422
- Build an :class:` Axes` instance in
423
- :class: `~matplotlib.figure.Figure` *fig* with
424
+ Build an `~axes. Axes` instance in
425
+ `~matplotlib.figure.Figure` *fig* with
424
426
*rect=[left, bottom, width, height]* in
425
- :class: `~matplotlib.figure.Figure` coordinates
427
+ `~matplotlib.figure.Figure` coordinates
426
428
427
429
Optional keyword arguments:
428
430
@@ -465,8 +467,8 @@ def __init__(self, fig, rect,
465
467
*yticklabels* sequence of strings
466
468
*yticks* sequence of floats
467
469
================ =========================================
468
- """ % { 'scale' : ' | ' . join (
469
- [ repr ( x ) for x in mscale . get_scale_names ()])}
470
+ """
471
+
470
472
martist .Artist .__init__ (self )
471
473
if isinstance (rect , mtransforms .Bbox ):
472
474
self ._position = rect
0 commit comments