[Matplotlib-users] object-oriented interface

2007-01-25 Thread Jonathon Anderson
Could someone point me to documentation of the oo interface? Everything seems to reference pylab (even examples that say they're for the oo interface). ~jonathon - Take Surveys. Earn Cash. Influence the Future of IT Join Sour

Re: [Matplotlib-users] Ipython and python2.5

2007-01-25 Thread Alan G Isaac
On Wed, 24 Jan 2007, Fernando Perez apparently wrote: > Let us know if this is not enough or if you have any other issues. How about for Windows users? You list as dependencies: # PyWin32 from http://starship.python.net/crew/mhammond But that link is broken. Can we just use pywin32-

Re: [Matplotlib-users] pylab crashes python

2007-01-25 Thread Lou Pecora
I found an example script I got to work for WX. I guessed that the ws.app had to be deleted to plot again. Here it is (the part that runs the code and creates the WX.app: if __name__ == '__main__': app = wx.PySimpleApp(0) frame = PlotFigure() frame.plot_data() frame.Show() a

[Matplotlib-users] bar charts

2007-01-25 Thread Margherita Vittone wiersma
Hello, i have made bar charts but I was wondering if there is a way to show on top of each bar the real content/counts, like a label; I generate static plots so the dynamic showing of the counts on focusing on the bar does not help me. Thank you much for some feedback. best regards Margherita

Re: [Matplotlib-users] dvipng version error running matplotlib on windows

2007-01-25 Thread Darren Dale
On Tuesday 23 January 2007 20:09, bernski wrote: > I am getting a dvipng version error when I run: > > import Numeric,matplotlib > matplotlib.use('Agg') > from matplotlib import rc > rc('text', usetex=True) > import pylab > > pylab.figure(num=1,figsize=(6,4)) > pylab.plot(Numeric.arange(10), Numeri

Re: [Matplotlib-users] pylab crashes python

2007-01-25 Thread Ken McIvor
Jan, What versions of wxPython and matplotlib are you using? Ken - 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 to

[Matplotlib-users] Latex \partial

2007-01-25 Thread vijayk
Hi, I am a newbie in matplotlib. I want to use the following label (in latex) \langle \partial_x U(x) \rangle. When i use ylabel(r"$\langle \partial_x U(x) \rangle$",fontsize=30); matplotlib complains by saying Traceback (most recent call last): File "/usr/lib/python2.3/site-p

[Matplotlib-users] pylab crashes python

2007-01-25 Thread Jan Winter
hi, I use python 2.4, matplotlib and WXpython on OS X. I plot and show something and every thing works fine (the plot is shown in the python.app). I close the plot window. I plot another thing. It is shown again with python.app, but now python.app crashes... every second plot causes a crash in

[Matplotlib-users] dvipng version error running matplotlib on windows

2007-01-25 Thread bernski
I am getting a dvipng version error when I run: import Numeric,matplotlib matplotlib.use('Agg') from matplotlib import rc rc('text', usetex=True) import pylab pylab.figure(num=1,figsize=(6,4)) pylab.plot(Numeric.arange(10), Numeric.arange(10)**2) pylab.axis( (0,9,0,81) ) pylab.xlabel(r'$width$')

Re: [Matplotlib-users] pylab crashes python

2007-01-25 Thread Christopher Barker
Jan Winter wrote: > hi, > > I use python 2.4, matplotlib and WXpython on OS X. > > I plot and show something and every thing works fine (the plot is > shown in the python.app). > I close the plot window. > I plot another thing. > It is shown again with python.app, but now python.app crashes...

Re: [Matplotlib-users] pylab crashes python

2007-01-25 Thread Lou Pecora
Are you running the script again or plotting a second time in the same script? You might need to set matplotlib to plot interactively. See the documentaion about interactive plotting. You need to set the back end graphics to the right kind for interactive plotting. E.g. in .matplotlibrc backe

Re: [Matplotlib-users] axis not accepting keyword arguments any longer?

2007-01-25 Thread John Hunter
> "Samuel" == Samuel M Smith <[EMAIL PROTECTED]> writes: Samuel> I have the same problem Did you notice my response then? John> This is a bug -- thanks for reporting it. I just committed John> changes to svn to fix it. Ie, it is a bug that is fixed and you must use the svn v