pysme.gui package¶
Submodules¶
pysme.gui.plot_colors module¶
Defines the colors to use in plotting
pysme.gui.plot_plotly module¶
Provide Plotting utility for Jupyter Notebook using Plot.ly Can also be used just for Plot.ly, which will then generated html files
- class pysme.gui.plot_plotly.FinalPlot(sme, segment=0, orig=None, labels=None)[source]¶
Bases:
object
Big plot that covers everything
- add(x, y, label='')[source]¶
adds a scatter plot to the image, and makes the necessary changes in the slider
- create_mask_points(x, y, mask, value)[source]¶
Creates the points that define the outer edge of the mask region
- create_plot(current_segment)[source]¶
Generate the plot componentes (lines and masks) and line labels
- selection_fn(trace, points, selector)[source]¶
Callback for area selection, changes the mask depending on selected mode