|
56 | 56 | `~.pyplot.suptitle` `~.Figure.suptitle` Add a title to the `~.Figure`.
|
57 | 57 | =================== =================== ======================================
|
58 | 58 |
|
59 |
| -All of these functions create and return a `~.text.Text` instance, which can |
60 |
| -be configured with a variety of font and other properties. The example below |
| 59 | +All of these functions create and return a `~.Text` instance, which can be |
| 60 | +configured with a variety of font and other properties. The example below |
61 | 61 | shows all of these commands in action, and more detail is provided in the
|
62 | 62 | sections that follow.
|
63 | 63 | """
|
|
145 | 145 | plt.show()
|
146 | 146 |
|
147 | 147 | ###############################################################################
|
148 |
| -# Or, the labels accept all the `~matplotlib.text.Text` keyword arguments, |
149 |
| -# including *position*, via which we can manually specify the label positions. |
150 |
| -# Here we put the xlabel to the far left of the axis. Note, that the |
151 |
| -# y-coordinate of this position has no effect - to adjust the y-position we |
152 |
| -# need to use the *labelpad* kwarg. |
| 148 | +# Or, the labels accept all the `~.Text` keyword arguments, including |
| 149 | +# *position*, via which we can manually specify the label positions. Here we |
| 150 | +# put the xlabel to the far left of the axis. Note, that the y-coordinate of |
| 151 | +# this position has no effect - to adjust the y-position we need to use the |
| 152 | +# *labelpad* kwarg. |
153 | 153 |
|
154 | 154 | fig, ax = plt.subplots(figsize=(5, 3))
|
155 | 155 | fig.subplots_adjust(bottom=0.15, left=0.2)
|
|
0 commit comments