PlotMixin#

class jdaviz.core.template_mixin.PlotMixin(**kwargs: Any)[source]#

Bases: VuetifyTemplate, HubListener

Plot subcomponent mixin.

In addition to plot, this provides the following methods at the plugin-level:

To render in the plugin’s vue file:

<jupyter-widget :widget="plot_widget"></jupyter-widget>

Public constructor

Attributes Summary

plot_widget

A trait for unicode strings.

Methods Summary

clear_plot()

Clear all data from the current plot.

Attributes Documentation

plot_widget#

A trait for unicode strings.

Methods Documentation

clear_plot()[source]#

Clear all data from the current plot.