On Thursday 21 December 2006 08:16, Giorgio Luciano wrote:
> I've created a shortcut in the desktop to start idle-n
> unsing C:\Python25\Lib\idlelib\idle.bat -n
> then I changed matplotlibrc and set interactive: True
> then started Idle, loaded the module and run.
> At first I had this error message...
>
> Traceback (most recent call last):
>   File "C:\Python25\Lib\site-packages\prove\demo.py", line 1, in <module>
>     from pylab import *
>   File "C:\Python25\lib\site-packages\pylab.py", line 1, in <module>
>     from matplotlib.pylab import *
>   File "C:\Python25\lib\site-packages\matplotlib\pylab.py", line 220, in
> <module>
>     new_figure_manager, draw_if_interactive, show = pylab_setup()
>   File "C:\Python25\lib\site-packages\matplotlib\backends\__init__.py",
> line 23, in pylab_setup
>     globals(),locals(),[backend_name])
>   File
> "C:\Python25\lib\site-packages\matplotlib\backends\backend_wxagg.py",
> line 19, in <module>
>     import wx
> ImportError: No module named wx
>
> naturally I installed WX wxPython2.8-win32-unicode-2.8.0.1-py25
>
> and restart the demo. plots load faster (and I needed to use show). but
> then I recalculated and restart and everything crashed again :(
> I'm frustrated .. any hints :(
> And sorry for bother I dont' want to get back to matlab

I see. When you use idle, you should set backend : TkAgg in your rc settings. 
The reason for this is discussed in the matplotlib users manual, see 
http://matplotlib.sourceforge.net/users_guide_0.87.7.pdf.

Darren

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to