|
4 | 4 | ===========
|
5 | 5 |
|
6 | 6 | You can share the x or y axis limits for one axis with another by
|
7 | | -passing an axes instance as a *sharex* or *sharey* keyword argument. |
| 7 | +passing an `~.axes.Axes` instance as a *sharex* or *sharey* keyword argument. |
8 | 8 |
|
9 | 9 | Changing the axis limits on one axes will be reflected automatically
|
10 | 10 | in the other, and vice-versa, so when you navigate with the toolbar
|
11 | | -the axes will follow each other on their shared axes. Ditto for |
| 11 | +the Axes will follow each other on their shared axis. Ditto for |
12 | 12 | changes in the axis scaling (e.g., log vs. linear). However, it is
|
13 | 13 | possible to have differences in tick labeling, e.g., you can selectively
|
14 | | -turn off the tick labels on one axes. |
| 14 | +turn off the tick labels on one Axes. |
15 | 15 |
|
16 | 16 | The example below shows how to customize the tick labels on the
|
17 | 17 | various axes. Shared axes share the tick locator, tick formatter,
|
|
20 | 20 | because you may want to make the tick labels smaller on the upper
|
21 | 21 | axes, e.g., in the example below.
|
22 | 22 |
|
23 | | -If you want to turn off the ticklabels for a given axes (e.g., on |
| 23 | +If you want to turn off the ticklabels for a given Axes (e.g., on |
24 | 24 | subplot(211) or subplot(212), you cannot do the standard trick::
|
25 | 25 |
|
26 | 26 | setp(ax2, xticklabels=[])
|
27 | 27 |
|
28 | 28 | because this changes the tick Formatter, which is shared among all
|
29 | | -axes. But you can alter the visibility of the labels, which is a |
| 29 | +Axes. But you can alter the visibility of the labels, which is a |
30 | 30 | property::
|
31 | 31 |
|
32 | 32 | setp(ax2.get_xticklabels(), visible=False)
|
|
0 commit comments