Axes.panel

Axes.panel(*args, **kwargs)[source]

Add a panel axes.

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, optional) – The panel width. Default is rc['subplots.panelwidth'] = 0.5. If float, units are inches. If string, interpreted by units.

  • space (unit-spec, optional) – The fixed space between the panel and the subplot edge. If float, units are em-widths. If string, interpreted by units. When the tight layout algorithm is active for the figure, this is adjusted automatically using pad. Otherwise, a suitable default is selected.

  • pad (unit-spec, optional) – The tight layout padding between the panel and the subplot. If float, units are em-widths. If string, interpreted by units.

  • 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-wide sharex and sharey settings.

Other Parameters

**kwargs – Passed to proplot.axes.CartesianAxes.

Returns

proplot.axes.CartesianAxes – The panel axes.