|
From: ajdcds <aj...@ho...> - 2013-10-03 10:09:18
|
We were able to find the difference when installing Matplotlib via
Python(x,y) or as a separate package.
The difference is on paramater /backend/ on /matplotlibrc/ file.
/Python(x,y)-2.6.6.2.exe/ set the parameter to *Qt4Agg*
/matplotlib-1.0.1.win32-py2.6.exe/ sets the parameter to *TKAgg*
if backend : TKAgg
then the error
/ File
"C:\Python26\lib\site-packages\matplotlib\backends\qt4_editor\formlayout.py",
line 51, in <module>
raise ImportError, "Warning: formlayout requires PyQt4 >v4.3"
ImportError: Warning: formlayout requires PyQt4 >v4.3/
Does not appear anymore.
Now looking how to use TKAgg without changing the matplotlibrc.
I've tried:
import matplotlib.pyplot as plt
plt.rcParams['backend'] = 'TkAgg'
But doesn't see to work.
Any suggestions?
--
View this message in context: http://matplotlib.1069221.n5.nabble.com/Matplotlib-installation-with-Python-x-y-tp42149p42166.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
|