Thank you very much.

What I would like is example for embedding_in_qt.py but whith qt4

when I tried :

import PyQt4
from PyQt4.QtCore import *
from PyQt4.QtGui import *

from matplotlib.backends.backend_qtagg import FigureCanvasQTAgg as
FigureCanvas
from matplotlib.figure import Figure

but I have :

Traceback (most recent call last):
  File "embedding_in_qt.py", line 26, in ?
    from matplotlib.backends.backend_qtagg import FigureCanvasQTAgg as
FigureCanvas
  File
"/usr/lib/python2.4/site-packages/matplotlib/backends/backend_qtagg.py",
line 12, in ?
    from backend_qt import qt, FigureManagerQT, FigureCanvasQT,\
  File
"/usr/lib/python2.4/site-packages/matplotlib/backends/backend_qt.py",
line 18, in ?
    import qt
RuntimeError: the qt and PyQt4.QtCore modules both wrap the QObject class


I have a debian sid machine and the package python-matplotlib depends on
python-qt3. But the package python-qt4 exists.
Any ideas what to do ?

Samuel


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to