gui.widget_pyqtgraph module

This widget contains the layout for graphs which use the pyqtgraph library to generate graphs. The widget can be executed as a standalone version.

Functionalities provided in this widget:

  1. Provides a canvas to plot graphs into it.

  2. Adds the seismic colorbar to the default colorbars

  3. Sets style of plots

  4. Has method to disable autoscale

  5. Provides clearing of canvas if plots are consecutively drawn (i.e. in a for loop).

class WidgetPyqtgraph(*args, obj=None, **kwargs)[source]

Bases: PyQt5.QtWidgets.QWidget, ui_pyqtgraph.Ui_widget_pyqtgraph

disable_autoscale()[source]
remove_plots()[source]
set_style(plot)[source]