TimeScatterView#
- class lcviz.viewers.TimeScatterView(*args, **kwargs)[source]#
Bases:
JdavizViewerMixin,WithSliceIndicator,BqplotScatterViewAttributes Summary
Methods Summary
add_data(data[, color, alpha])Overrides the base class to handle subset styling defaults.
apply_roi(roi[, use_current])Apply an ROI to the viewer.
data([cls])Attributes Documentation
- slice_component_label#
- slice_display_unit_name#
- tools_nested = [['jdaviz:homezoom', 'jdaviz:prevzoom'], ['jdaviz:boxzoom', 'jdaviz:xrangezoom', 'jdaviz:yrangezoom'], ['jdaviz:panzoom', 'jdaviz:panzoom_x', 'jdaviz:panzoom_y'], ['bqplot:xrange', 'bqplot:yrange', 'bqplot:rectangle'], ['jdaviz:selectslice'], ['jdaviz:viewer_clone', 'jdaviz:sidebar_plot', 'jdaviz:sidebar_export']]#
Methods Documentation
- add_data(data, color=None, alpha=None, **layer_state)[source]#
Overrides the base class to handle subset styling defaults.
- Parameters:
data (
glue.core.data.Data) – Data object with the light curve.color (obj) – Color value for plotting.
alpha (float) – Alpha value for plotting.
- Returns:
result –
Trueif successful,Falseotherwise.- Return type:
bool