|
27 | 27 | #
|
28 | 28 | # It is often useful to have narrow "panels" along the edge of a larger
|
29 | 29 | # subplot for plotting secondary 1-dimensional datasets or summary statistics.
|
30 |
| -# In matplotlib, there is no simple way to do this. In ProPlot, you can |
31 |
| -# create panels by passing a location (e.g. ``loc='r'`` or ``loc='right'``) |
32 |
| -# to the `~proplot.axes.Axes.panel` or `~proplot.axes.Axes.panel_axes` methods. |
33 |
| -# The resulting axes are instances of `~proplot.axes.CartesianAxes`. |
| 30 | +# In ProPlot, you can create panels by passing a location (e.g. ``loc='r'`` or |
| 31 | +# ``loc='right'``) to the `~proplot.axes.Axes.panel` or `~proplot.axes.Axes.panel_axes` |
| 32 | +# methods. The resulting axes are instances of `~proplot.axes.CartesianAxes`. |
34 | 33 | #
|
35 | 34 | # To generate "stacked" panels, simply call `~proplot.axes.Axes.panel` more
|
36 | 35 | # than once. To include panels when centering spanning axis labels and super
|
|
100 | 99 | axs.format(
|
101 | 100 | xlim=(0, 1), ylim=(0, 1),
|
102 | 101 | xlabel='xlabel', ylabel='ylabel',
|
103 |
| - yticks=plot.arange(0.2, 0.8, 0.2), |
104 |
| - xticks=plot.arange(0.2, 0.8, 0.2), |
| 102 | + xticks=0.2, yticks=0.2, |
105 | 103 | title='Title', suptitle='Complex arrangement of panels',
|
106 | 104 | collabels=['Column 1', 'Column 2'],
|
107 | 105 | abc=True, abcloc='ul', titleloc='uc', abovetop=False,
|
|
0 commit comments