LinePlot¶
-
class
specviz.core.plots.LinePlot(layer, plot=None, visible=True, style=u'line', pen=None, err_pen=None, color=(0, 0, 0))[source]¶ Bases:
objectPlot representation of a layer
Parameters: Attributes Summary
error_penlayerpenplotMethods Summary
change_units(x[, y, z])Change the displayed units from_layer(layer, \*\*kwargs)Create a LinePlot from a layer set_error_visibility([show])Show the error/uncertainty set_line_width(width)Set the line plot width set_mode(mode)Set the line plotting mode set_plot_visibility([show, inactive])Set visibility and active state update([autoscale])Refresh the plot Attributes Documentation
-
error_pen¶
-
layer¶
-
pen¶
-
plot¶
Methods Documentation
-
static
from_layer(layer, **kwargs)[source]¶ Create a LinePlot from a layer
Parameters: Returns: The new LinePlot
Return type: plot_container
-
set_error_visibility(show=None)[source]¶ Show the error/uncertainty
Parameters: show (bool) – If True, show the error/uncertainty info.
-
set_line_width(width)[source]¶ Set the line plot width
Parameters: width (float) – The width of the line
-
set_mode(mode)[source]¶ Set the line plotting mode
Parameters: mode ('line' | 'scatter | 'histogram') – The plot mode
-