[Matplotlib-users] matplotlib and threads problem on mac (works on windows)

2010-07-02 Thread ninjasmith
> ipython does this, I believe, when you call it with the -pylab option, but I have never tried it with a script. Ben Root ok made some prgoress with this so thought I'd update the following script works on widnows ''' Created on Jul 1, 2010 @author: henrylindsaysmith ''' # $Id: $ #test

Re: [Matplotlib-users] matplotlib in interactive mode from a script

2010-07-01 Thread ninjasmith
> > Hi, > > I think what you are after is the interactive mode of matplotlib. You can > turn > is on by "ion" and redraw the current figure using "draw". In ipythons > "pylab" > mode this is done implicit. I attached some example lines which guide you > to > the right direction. I'm not sur

[Matplotlib-users] matplotlib in interactive mode from a script

2010-06-29 Thread ninjasmith
hi there, I've got a bit stuck with running matplotlib in interactive mode. maybe what I want to do can't be done easily. want I want is a simple python script which I can run with a file argument. this will then create some plots. the script will wait for user input (via sys.stdin.readline()

[Matplotlib-users] matplotlib.lines.Line2D object at 0x283d310 - strange error

2009-05-27 Thread ninjasmith
Hi, I'm a bit new to matplotlib and python. I'm running ubuntu 64bit. whenever I try and do anything with matplotlib I get an error similar to above. it still works, i.e. when I run the show() command the plot will appear but all matplotplib commands return an error similar to above. for examp