| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -23,9 +23,9 @@ def __init__(self, width, height, xdescent, ydescent, | |||
| 23 | 23 | Parameters | |
| 24 | 24 | ---------- | |
| 25 | 25 | width, height : float | |
| 26 | - width and height of the container, in pixels. | ||
| 26 | + Width and height of the container, in pixels. | ||
| 27 | 27 | xdescent, ydescent : float | |
| 28 | - descent of the container in the x- and y- direction, in pixels. | ||
| 28 | + Descent of the container in the x- and y- direction, in pixels. | ||
| 29 | 29 | loc : str | |
| 30 | 30 | Location of this artist. Valid locations are | |
| 31 | 31 | 'upper left', 'upper center', 'upper right', | |
@@ -141,7 +141,7 @@ def __init__(self, transform, width, height, angle, loc, | |||
| 141 | 141 | angle : float | |
| 142 | 142 | Rotation of the ellipse, in degrees, anti-clockwise. | |
| 143 | 143 | loc : str | |
| 144 | - Location of this ellipse. Valid locations are | ||
| 144 | + Location of the ellipse. Valid locations are | ||
| 145 | 145 | 'upper left', 'upper center', 'upper right', | |
| 146 | 146 | 'center left', 'center', 'center right', | |
| 147 | 147 | 'lower left', 'lower center, 'lower right'. | |
@@ -191,7 +191,7 @@ def __init__(self, transform, size, label, loc, | |||
| 191 | 191 | label : str | |
| 192 | 192 | Label to display. | |
| 193 | 193 | loc : str | |
| 194 | - Location of this ellipse. Valid locations are | ||
| 194 | + Location of the size bar. Valid locations are | ||
| 195 | 195 | 'upper left', 'upper center', 'upper right', | |
| 196 | 196 | 'center left', 'center', 'center right', | |
| 197 | 197 | 'lower left', 'lower center, 'lower right'. | |
@@ -216,7 +216,7 @@ def __init__(self, transform, size, label, loc, | |||
| 216 | 216 | fontproperties : `matplotlib.font_manager.FontProperties`, optional | |
| 217 | 217 | Font properties for the label text. | |
| 218 | 218 | fill_bar : bool, optional | |
| 219 | - If True and if size_vertical is nonzero, the size bar will | ||
| 219 | + If True and if *size_vertical* is nonzero, the size bar will | ||
| 220 | 220 | be filled in with the color specified by the size bar. | |
| 221 | 221 | Defaults to True if *size_vertical* is greater than | |
| 222 | 222 | zero and False otherwise. | |
@@ -311,7 +311,7 @@ def __init__(self, transform, label_x, label_y, length=0.15, | |||
| 311 | 311 | fontsize : float, default: 0.08 | |
| 312 | 312 | Size of label strings, given in coordinates of *transform*. | |
| 313 | 313 | loc : str, default: 'upper left' | |
| 314 | - Location of this ellipse. Valid locations are | ||
| 314 | + Location of the arrow. Valid locations are | ||
| 315 | 315 | 'upper left', 'upper center', 'upper right', | |
| 316 | 316 | 'center left', 'center', 'center right', | |
| 317 | 317 | 'lower left', 'lower center, 'lower right'. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -304,10 +304,10 @@ | |||
| 304 | 304 | # artists) is known in pixel size during the time of creation. For | |
| 305 | 305 | # example, If you want to draw a circle with fixed size of 20 pixel x 20 | |
| 306 | 306 | # pixel (radius = 10 pixel), you can utilize | |
| 307 | - # ``AnchoredDrawingArea``. The instance is created with a size of the | ||
| 308 | - # drawing area (in pixels), and arbitrary artists can added to the | ||
| 309 | - # drawing area. Note that the extents of the artists that are added to | ||
| 310 | - # the drawing area are not related to the placement of the drawing | ||
| 307 | + # `~mpl_toolkits.axes_grid1.anchored_artists.AnchoredDrawingArea`. The instance | ||
| 308 | + # is created with a size of the drawing area (in pixels), and arbitrary artists | ||
| 309 | + # can added to the drawing area. Note that the extents of the artists that are | ||
| 310 | + # added to the drawing area are not related to the placement of the drawing | ||
| 311 | 311 | # area itself. Only the initial size matters. | |
| 312 | 312 | # | |
| 313 | 313 | # The artists that are added to the drawing area should not have a | |
@@ -330,9 +330,11 @@ | |||
| 330 | 330 | ############################################################################### | |
| 331 | 331 | # Sometimes, you want your artists to scale with the data coordinate (or | |
| 332 | 332 | # coordinates other than canvas pixels). You can use | |
| 333 | - # ``AnchoredAuxTransformBox`` class. This is similar to | ||
| 334 | - # ``AnchoredDrawingArea`` except that the extent of the artist is | ||
| 335 | - # determined during the drawing time respecting the specified transform. | ||
| 333 | + # `~mpl_toolkits.axes_grid1.anchored_artists.AnchoredAuxTransformBox` class. | ||
| 334 | + # This is similar to | ||
| 335 | + # `~mpl_toolkits.axes_grid1.anchored_artists.AnchoredDrawingArea` except that | ||
| 336 | + # the extent of the artist is determined during the drawing time respecting the | ||
| 337 | + # specified transform. | ||
| 336 | 338 | # | |
| 337 | 339 | # The ellipse in the example below will have width and height | |
| 338 | 340 | # corresponding to 0.1 and 0.4 in data coordinates and will be | |
@@ -441,7 +443,7 @@ | |||
| 441 | 443 | # ~~~~~~~~~~~~~~~~~~~~~ | |
| 442 | 444 | # | |
| 443 | 445 | # `.ConnectionPatch` is like an annotation without text. While `~.Axes.annotate` | |
| 444 | - # is sufficient in most situations, ``ConnectionPatch`` is useful when you want to | ||
| 446 | + # is sufficient in most situations, `.ConnectionPatch` is useful when you want to | ||
| 445 | 447 | # connect points in different axes. :: | |
| 446 | 448 | # | |
| 447 | 449 | # from matplotlib.patches import ConnectionPatch | |
@@ -457,7 +459,7 @@ | |||
| 457 | 459 | # :target: ../../gallery/userdemo/connect_simple01.html | |
| 458 | 460 | # :align: center | |
| 459 | 461 | # | |
| 460 | - # Here, we added the ``ConnectionPatch`` to the *figure* (with `~.Figure.add_artist`) | ||
| 462 | + # Here, we added the `.ConnectionPatch` to the *figure* (with `~.Figure.add_artist`) | ||
| 461 | 463 | # rather than to either axes: this ensures that it is drawn on top of both axes, | |
| 462 | 464 | # and is also necessary if using :doc:`constrained_layout | |
| 463 | 465 | # </tutorials/intermediate/constrainedlayout_guide>` for positioning the axes. | |
@@ -468,7 +470,7 @@ | |||
| 468 | 470 | # Zoom effect between Axes | |
| 469 | 471 | # ~~~~~~~~~~~~~~~~~~~~~~~~ | |
| 470 | 472 | # | |
| 471 | - # ``mpl_toolkits.axes_grid1.inset_locator`` defines some patch classes useful for | ||
| 473 | + # `mpl_toolkits.axes_grid1.inset_locator` defines some patch classes useful for | ||
| 472 | 474 | # interconnecting two axes. Understanding the code requires some knowledge of | |
| 473 | 475 | # Matplotlib's transform system. | |
| 474 | 476 | # | |
| Back | FazBrowse Home | New Git URL |
0 commit comments