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:
objectOptions to change the appearance of a single plot (Matplotlib axes).
Attributes
Options to change the appearance of a colobar, in case of colormap or contour plots.
Options to change the appearance of the legend.
Line-specific options.
Stack offset defined as percentage of bandwidth formed by all plotted lines.
Wrap the title to another line after this many characters.
Options to change appearance of the horizontal axis.
Options to change appearance of the vertical axis.
Methods
Returns a copy where attributes given in attributes are changed.
- Parameters:
x (AxisOptions | None)
y (AxisOptions | None)
line_options (LineOptions | None)
legend (LegendOptions | None)
colorbar (ColorBarOptions | None)
title_wrap (int)
stack (float)
- x: AxisOptions | None = None#
Options to change appearance of the horizontal axis. If None a new instance of
AxisOptionsis created.
- y: AxisOptions | None = None#
Options to change appearance of the vertical axis. If None a new instance of
AxisOptionsis 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
LegendOptionsis 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
ColorBarOptionsis created.
- copy(**attributes)#
Returns a copy where attributes given in attributes are changed.
- Return type:
Inheritance
