File tree 4 files changed +8
-8
lines changed
examples/subplots_axes_and_figures
lib/mpl_toolkits/axes_grid1 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -329,7 +329,7 @@ a previous axes instance currently reuses the earlier instance. This
329
329
behavior has been deprecated in Matplotlib 2.1. In a future version, a
330
330
*new * instance will always be created and returned. Meanwhile, in such
331
331
a situation, a deprecation warning is raised by
332
- :class: ` ~matplotlib.figure.AxesStack `.
332
+ `` ~matplotlib.figure.AxesStack ` `.
333
333
334
334
This warning can be suppressed, and the future behavior ensured, by passing
335
335
a *unique * label to each axes instance. See the docstring of
Original file line number Diff line number Diff line change 8
8
:doc:`nested gridspecs</gallery/subplots_axes_and_figures/gridspec_nested>`,
9
9
but having a virtual figure with its own artists is helpful, so
10
10
Matplotlib also has "subpanels", accessed by calling
11
- `matplotlib.figure.PanelBase .add_subpanel` in a way that is analagous to
12
- `matplotlib.figure.PanelBase .add_subplot`, or `figure.PanelBase .subpanels` to
13
- make an array of subpanels. Note that subpanels can also have their own child
14
- subpanels.
11
+ `matplotlib.figure.Figure .add_subpanel` in a way that is analagous to
12
+ `matplotlib.figure.Figure .add_subplot`, or `matplotlib. figure.Figure .subpanels`
13
+ to make an array of subpanels. Note that subpanels can also have their own
14
+ child subpanels.
15
15
16
16
.. note::
17
17
``subpanel`` is new in v3.4, and the API is still provisional.
Original file line number Diff line number Diff line change 45
45
*fraction* 0.15; fraction of original axes to use for colorbar
46
46
*pad* Defaults to 0.05 if vertical, 0.15 if horizontal; fraction
47
47
of original axes between colorbar and new image axes.
48
- Defaults to 0.05 for both if `.get_constrained_layout`
49
- is *True*.
48
+ Defaults to 0.05 for both if
49
+ `.Figure.get_constrained_layout` is *True*.
50
50
*shrink* 1.0; fraction by which to shrink the colorbar
51
51
*aspect* 20; ratio of long to short dimensions
52
52
============= ====================================================
Original file line number Diff line number Diff line change 30
30
| | |(1, 1) is top right of the axes. |
31
31
+----------------+-----------------------------+-----------------------------------+
32
32
|"subpanel" |``subpanel.transPanel`` |The coordinate system of the |
33
- | | |`.Subpanel `; (0, 0) is bottom left |
33
+ | | |`.SubPanel `; (0, 0) is bottom left |
34
34
| | |of the subpanel, and (1, 1) is top |
35
35
| | |right of the subpanel. If a |
36
36
| | |figure has no subpanels, this is |
You can’t perform that action at this time.
0 commit comments