From: Darren D. <dd...@co...> - 2006-08-15 20:50:16
|
On Tuesday 15 August 2006 16:05, sg...@ol... wrote: > 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): You should be doing this instead: from matplotlib.backends.backend_qt4agg import FigureCanvasQTAgg as FigureCanvas Darren |