PlotOptions#

Module: exa.core.plotting.plot_options

class PlotOptions(x=None, y=None, line_options=None, legend=None, colorbar=None, title_wrap=120, stack=0.0)#

Bases: object

Options to change the appearance of a single plot (Matplotlib axes).

Attributes

colorbar

Options to change the appearance of a colobar, in case of colormap or contour plots.

legend

Options to change the appearance of the legend.

line_options

Line-specific options.

stack

Stack offset defined as percentage of bandwidth formed by all plotted lines.

title_wrap

Wrap the title to another line after this many characters.

x

Options to change appearance of the horizontal axis.

y

Options to change appearance of the vertical axis.

Methods

copy

Returns a copy where attributes given in attributes are changed.

Parameters:
x: AxisOptions | None = None#

Options to change appearance of the horizontal axis. If None a new instance of AxisOptions is created.

y: AxisOptions | None = None#

Options to change appearance of the vertical axis. If None a new instance of AxisOptions is created.

line_options: LineOptions | None = None#

Line-specific options.

legend: LegendOptions | None = None#

Options to change the appearance of the legend. If None a new instance of LegendOptions is created.

colorbar: ColorBarOptions | None = None#

Options to change the appearance of a colobar, in case of colormap or contour plots. If None a new instance of ColorBarOptions is created.

title_wrap: int = 120#

Wrap the title to another line after this many characters.

stack: float = 0.0#

Stack offset defined as percentage of bandwidth formed by all plotted lines.

copy(**attributes)#

Returns a copy where attributes given in attributes are changed.

Return type:

PlotOptions

Inheritance

Inheritance diagram of exa.core.plotting.plot_options.PlotOptions