epfl-lts2 / pygsp

Graph Signal Processing in Python
https://pygsp.rtfd.io
BSD 3-Clause "New" or "Revised" License
488 stars 93 forks source link

Spectrogram plot #56

Closed nshervt closed 5 years ago

nshervt commented 5 years ago

I was trying to plot the spectrogram plot but it doesn't work. There is no errors, but the plot does not show. here is the code I'm using:

import pygsp as pg
import matplotlib.pyplot as plt

G = pg.graphs.Ring(15)
G.estimate_lmax()
G.plot_spectrogram()
pg.plotting.show()

I also tried using plt.show() but no luck. I'm using version 0.5.1 and was trying to follow tutorial .