SubplotGrid.panel¶
- SubplotGrid.panel(*args, **kwargs)¶
Add a panel axes for every axes in the grid.
- Parameters
side (
str
, optional) – The panel location. Valid location keys are as follows.Location
Valid keys
left
'left'
,'l'
right
'right'
,'r'
bottom
'bottom'
,'b'
top
'top'
,'t'
width (
unit-spec
, default:rc['subplots.panelwidth']
=0.5
) – The panel width. If float, units are inches. If string, interpreted byunits
.space (
unit-spec
, default:None
) – The fixed space between the panel and the subplot edge. If float, units are em-widths. If string, interpreted byunits
. When the tight layout algorithm is active for the figure,space
is computed automatically (seepad
). Otherwise,space
is set to a suitable default.pad (
unit-spec
, default:rc['subplots.panelpad']
=0.5
) – The tight layout padding between the panel and the subplot. If float, units are em-widths. If string, interpreted byunits
.share (
bool
, default:True
) – Whether to enable axis sharing between the x and y axes of the main subplot and the panel long axes for each panel in the “stack”. Sharing between the panel short axis and other panel short axes is determined by figure-widesharex
andsharey
settings.
- Other Parameters
**kwargs – Passed to
proplot.axes.CartesianAxes
. Supports all validformat
keywords.- Returns
proplot.axes.CartesianAxes
– The panel axes.