LineOptions#
Module: exa.core.plotting.plot_options
- class LineOptions(line_style=LineStyle.SOLID, marker_style=MarkerStyle.NONE, marker_size=5, marker_fill_style=MarkerFillStyle.FULL, line_width=2, color=None, alpha=1.0, offset=0.0)#
Bases:
objectOptions to customize the appearance of a line or scatter data object.
Attributes
Alpha value that describes visibility, from 0.0 (fully transparent) to 1.0 (fully visible).
Color of the line and markers.
Line style.
Linewidth of lines and markers, in pixels.
Marker fill.
Marker size.
Marker style.
Offset value for shifting line on y-axis.
Methods
Returns a copy where attributes given in attributes are changed.
Default look meant for datapoints.
- Parameters:
line_style (LineStyle)
marker_style (MarkerStyle)
marker_size (float)
marker_fill_style (MarkerFillStyle)
line_width (float)
color (str | None)
alpha (float)
offset (float)
- marker_style: MarkerStyle = ''#
Marker style.
- marker_fill_style: MarkerFillStyle = 'full'#
Marker fill.
- color: str | None = None#
Color of the line and markers. Can be given as strings recognized by matplotlib, see https://matplotlib.org/3.1.0/tutorials/colors/colors.html. By default, uses the cycling colors set by
style.
- alpha: float = 1.0#
Alpha value that describes visibility, from 0.0 (fully transparent) to 1.0 (fully visible). For an alternative way to set transparency, see
color.
- copy(**attributes)#
Returns a copy where attributes given in attributes are changed.
- Return type:
Inheritance
