FigureOptions#
Module: exa.core.plotting.plot_options
- class FigureOptions(save_type=SaveType.PNG, style=PlotStyle.DEFAULT, aspect_ratio=0.75, magnification=2.0, dpi=72, background='#fff', title_wrap=120, title_font_size=10, font_size=10, border_width=2, complex_options=None, plot_options=None, fit_annotations=None, is_colormap=False, is_contour=False)#
Bases:
objectOptions to change the appearance of a
exa.core.plotting.figure.Figure.Attributes
Aspect ratio of all the axes in the Figure.
Background color of the Figure (behond the individual axes).
Width of the border boxes and tick marks, in pixels.
Options to change the appearance for figures with complex data
Dots-per-inch, used when scaling the figure.
Options for fit parameter annotations.
Font size of everything else.
Plot the data as a colormap.
Plot the data as a contour plot.
Magnification factor.
Options to change the appearance of all subplots in this figure.
File format to use when saving the figure.
General color theme to use when cycling line and marker colors.
Font size of the title.
Wrap the title to another line after this many characters.
Methods
Returns a copy where attributes given in attributes are changed.
- Parameters:
save_type (SaveType)
style (PlotStyle)
aspect_ratio (float)
magnification (float)
dpi (int)
background (str)
title_wrap (int)
title_font_size (int)
font_size (int)
border_width (int)
complex_options (ComplexOptions | None)
plot_options (PlotOptions | None)
fit_annotations (FitAnnotationOptions | None)
is_colormap (bool)
is_contour (bool)
- background: str = '#fff'#
Background color of the Figure (behond the individual axes). Formatted as hex color string, like
'#ffffff'for white,'#000000'for black.
- complex_options: ComplexOptions | None = None#
Options to change the appearance for figures with complex data
- plot_options: PlotOptions | None = None#
Options to change the appearance of all subplots in this figure.
- fit_annotations: FitAnnotationOptions | None = None#
Options for fit parameter annotations.
- copy(**attributes)#
Returns a copy where attributes given in attributes are changed.
- Return type:
Inheritance
