titania.plots package#

Submodules#

titania.plots.base_plot module#

class titania.plots.base_plot.BaseCanvasPlot(parent: QWidget | None = None, view: TitaniaTabInterface | None = None)[source]#

Bases: PlotInterface, FigureCanvasQTAgg

get_as_plot_widget()[source]#

If the plot is a more complex QWidget, it should return that widget

class titania.plots.base_plot.FinalMetaPlot(name, bases, namespace, **kwargs)[source]#

Bases: ABCMeta, wrappertype

class titania.plots.base_plot.MplPlot(parent: QWidget | None = None, view: TitaniaTabInterface | None = None)[source]#

Bases: BaseCanvasPlot

A parent class for making matplotlib plots

get_as_plot_widget(row=0)[source]#

If the plot is a more complex QWidget, it should return that widget

pre_draw()[source]#

Actions to be done before drawing the plot

class titania.plots.base_plot.NavToolbarPlot(parent: QWidget | None = None, view: TitaniaTabInterface | None = None)[source]#

Bases: MplPlot

A class with a toolbar plot. The toolbar implements matplotlib toolbar with zoom,

save file and others.

draw_plot()[source]#

Draws the plot

get_as_plot_widget(row=10)[source]#

If the plot is a more complex QWidget, it should return that widget

class titania.plots.base_plot.PlotInterface[source]#

Bases: ABC

Basic plotting interface for titania

abstract draw_plot()[source]#

Draws the plot

abstract get_as_plot_widget() QWidget[source]#

If the plot is a more complex QWidget, it should return that widget

pre_draw()[source]#

Actions to be done before drawing the plot

titania.plots.histogram_plot module#

class titania.plots.histogram_plot.HistogramPlot(parent=None, view=None, data=None)[source]#

Bases: NavToolbarPlot

Matplotlib’s simple bar plot

draw_plot()[source]#

Draws the plot

get_name()[source]#

titania.plots.line_plot module#

class titania.plots.line_plot.LinePlot(parent=None, view=None, *args, **kwargs)[source]#

Bases: MplPlot

draw_plot(data=None) None[source]#

Draws the plot

class titania.plots.line_plot.ToolbarLinePlot(parent=None, view=None)[source]#

Bases: NavToolbarPlot

draw_plot(data=None)[source]#

Draws the plot

get_name()[source]#

titania.plots.root_plot module#

class titania.plots.root_plot.RootScatterPlot(parent=None, view=None)[source]#

Bases: NavToolbarPlot

Root scatter plot

draw_plot()[source]#

Draws the plot

get_name()[source]#

Module contents#