Axes.panel_axes¶
- Axes.panel_axes(*args, **kwargs)[source]¶
Return a panel drawn along the edge of this axes.
- Parameters
side (
str
, optional) – The panel location. The following location keys are valid:Location
Valid keys
left
'left'
,'l'
right
'right'
,'r'
bottom
'bottom'
,'b'
top
'top'
,'t'
width (
float
orstr
, optional) – The panel width. Default isrc['subplots.panelwidth']
=0.5
. If float, units are inches. If string, interpreted byunits
.space (
float
orstr
, optional) – The fixed space between the main subplot and the panel. If float, units are em-widths. If string, interpreted byunits
. When the tight layout algorithm is active for the figure, this is adjusted automatically usingpad
. Otherwise, a suitable default is selected.pad (
float
orstr
, optional) – The tight layout padding between the main subplot and the panel. Units are interpreted byunits
. Default isrc['subplots.panelpad']
=0.5
.share (
bool
, optional) – 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.
- Returns
CartesianAxes
– The panel axes.