specgram ?

I am having some problems using the specgram function

    > with gtk and was wondering if anyone had an example they
    > were willing to share.

See http://matplotlib.sf.net/examples for the current examples.
Normally, you can always get the examples directory in the src
distribution (*.tar.gz or *.zip) but on the last release I failed to
upload a zip file.

The example you are looking for is called specgram_demo.py.

  http://matplotlib.sf.net/examples/specgram_demo.py

Hope this helps,
JDH