Re: [Matplotlib-users] Can't run matplotlib without tk backend on windows?

2008-01-19 Thread Francesco Pretto
2008/1/10, Darren Dale [EMAIL PROTECTED]: I think this is fixed. Please update from svn and try again. Darren Fixed, thanks. Francesco - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R)

Re: [Matplotlib-users] Can't run matplotlib without tk backend on windows?

2008-01-10 Thread Darren Dale
On Wednesday 09 January 2008 10:15:54 am Francesco Pretto wrote: 2008/1/9, Darren Dale [EMAIL PROTECTED]: setup.py attempts to select the appropriate backend for you, based on what backends were available at build time. That selection is written into the default matplotlibrc file, which

[Matplotlib-users] Can't run matplotlib without tk backend on windows?

2008-01-09 Thread Francesco Pretto
Hi, after having correctly compiled matplotlib, now is time to test something (I need at least to get it something working before I can start hack it autonomously =). Unfortunately, it's not usable: it complains about not being able to load _tkagg module. The fact is I don't want tkagg backend at

Re: [Matplotlib-users] Can't run matplotlib without tk backend on windows?

2008-01-09 Thread Charlie Moad
You need to set a different backend in your matplotlibrc or specify it first. import matplotlib matplotlib.use('Agg') You can also run scripts passing the backend: python lab1_ex2.py -dAgg On Jan 9, 2008 8:41 AM, Francesco Pretto [EMAIL PROTECTED] wrote: Hi, after having correctly compiled

Re: [Matplotlib-users] Can't run matplotlib without tk backend on windows?

2008-01-09 Thread Darren Dale
On Wednesday 09 January 2008 09:27:39 am Francesco Pretto wrote: 2008/1/9, Charlie Moad [EMAIL PROTECTED]: You need to set a different backend in your matplotlibrc or specify it first. import matplotlib matplotlib.use('Agg') You can also run scripts passing the backend: python

Re: [Matplotlib-users] Can't run matplotlib without tk backend on windows?

2008-01-09 Thread Francesco Pretto
2008/1/9, Charlie Moad [EMAIL PROTECTED]: You need to set a different backend in your matplotlibrc or specify it first. import matplotlib matplotlib.use('Agg') You can also run scripts passing the backend: python lab1_ex2.py -dAgg Oh, thanks. That really seems a RTFM... However, in

Re: [Matplotlib-users] Can't run matplotlib without tk backend on windows?

2008-01-09 Thread Francesco Pretto
2008/1/9, Darren Dale [EMAIL PROTECTED]: setup.py attempts to select the appropriate backend for you, based on what backends were available at build time. That selection is written into the default matplotlibrc file, which resides in site-packages/matplotlib/mpl-data. If matplotlib finds

Re: [Matplotlib-users] Can't run matplotlib without tk backend on windows?

2008-01-09 Thread Darren Dale
On Wednesday 09 January 2008 10:15:54 am Francesco Pretto wrote: 2008/1/9, Darren Dale [EMAIL PROTECTED]: setup.py attempts to select the appropriate backend for you, based on what backends were available at build time. That selection is written into the default matplotlibrc file, which

Re: [Matplotlib-users] Can't run matplotlib without tk backend on windows?

2008-01-09 Thread Charlie Moad
On Jan 9, 2008 10:35 AM, Darren Dale [EMAIL PROTECTED] wrote: On Wednesday 09 January 2008 10:15:54 am Francesco Pretto wrote: 2008/1/9, Darren Dale [EMAIL PROTECTED]: setup.py attempts to select the appropriate backend for you, based on what backends were available at build time. That

Re: [Matplotlib-users] Can't run matplotlib without tk backend on windows?

2008-01-09 Thread Darren Dale
On Wednesday 09 January 2008 8:50:46 pm Charlie Moad wrote: On Jan 9, 2008 10:35 AM, Darren Dale [EMAIL PROTECTED] wrote: On Wednesday 09 January 2008 10:15:54 am Francesco Pretto wrote: 2008/1/9, Darren Dale [EMAIL PROTECTED]: setup.py attempts to select the appropriate backend for you,