title: Getting PySide to work with matplotlib
body: <p>I have tried running the <a href="http://www.scipy.org/Cookbook/Matplotlib/PySide" rel="noreferrer">example code on the SciPy website</a>, but I get this error:</p>
  
  <pre><code>Traceback (most recent call last):
    File ".\matplotlibPySide.py", line 24, in &lt;module&gt;
      win.setCentralWidget(canvas)
  TypeError: 'PySide.QtGui.QMainWindow.setCentralWidget' called with wrong argument types:
    PySide.QtGui.QMainWindow.setCentralWidget(FigureCanvasQTAgg)
  Supported signatures:
    PySide.QtGui.QMainWindow.setCentralWidget(PySide.QtGui.QWidget)
  </code></pre>
  
  <p>I am building a simple scientific data logger that will eventually be used in commercial applications, so I really need both the LGPL from PySide and plotting functionality. Does anyone have experience on how to get this to work or alternative plotting packages or ideas?</p>
  
  <p>Thanks in advance.</p>