Plotting¶
The pygsp.plotting
module implements functionality to plot PyGSP objects
with a pyqtgraph or matplotlib drawing backend (which can be controlled by the
BACKEND
constant or individually for each plotting call):
graphs from
pygsp.graphs
withplot_graph()
,plot_spectrogram()
, andplot_signal()
,filters from
pygsp.filters
withplot_filter()
.
-
pygsp.plotting.
BACKEND
¶ Indicates which drawing backend to use if none are provided to the plotting functions. Should be either ‘matplotlib’ or ‘pyqtgraph’. In general pyqtgraph is better for interactive exploration while matplotlib is better at generating figures to be included in papers or elsewhere.