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).
Most users won’t use this module directly.
Graphs (from pygsp.graphs) are to be plotted with
pygsp.graphs.Graph.plot() and
pygsp.graphs.Graph.plot_spectrogram().
Filters (from pygsp.filters) are to be plotted with
pygsp.filters.Filter.plot().
- pygsp.plotting.BACKEND
The default 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.