func_sketch._gui.plot_widget module#
Class of widgets to show plots.
- class func_sketch._gui.plot_widget.PlotWidget(**kwargs)#
Bases:
ImageClass of widgets to show plots.
- _get_plot_image_size() tuple[int, int]#
Get size of the plot image.
Callback when the plot_config property is set in shared_state.
Callback when the plot_range property is set in shared_state.
Callback when the sampled_curves property is set in shared_state.
- _prepare_texture() None#
Prepare texture for the plot.
- _update_plot() None#
Update the plot.
Callback when the shared_state property is set.
- on_size(_instance: object, _value: object) None#
Callback when the size of the widget is changed.
Shared state object.