Re: [Matplotlib-users] Upgrade from 1.0.1 to 1.1.0, not quite working

2011-11-10 Thread Eric Firing
On 11/10/2011 08:04 PM, John Ladasky wrote: > Hello everyone, > > I've been struggling to get consistent animation results from Matplotlib > 1.0.1. I am not entirely sure why I can get some programs to work, and > others not. The back-and-forth between the pyplot/pylab state-machine > approach an

[Matplotlib-users] Upgrade from 1.0.1 to 1.1.0, not quite working

2011-11-10 Thread John Ladasky
Hello everyone, I've been struggling to get consistent animation results from Matplotlib 1.0.1. I am not entirely sure why I can get some programs to work, and others not. The back-and-forth between the pyplot/pylab state-machine approach and a more explicit object-oriented model gets me dizzy s

Re: [Matplotlib-users] Bus error related to ft2font on Mac OS X (10.6), gcc-4.2, apparently 0.99 branch related

2011-11-10 Thread Friedrich Romstedt
2011/11/11 Michael Droettboom : > On 11/10/2011 05:16 PM, Friedrich Romstedt wrote: >> Furthermore, Michael is right, while bisecting I didn't ``rm build/`` >> properly; I just did ``python2.6 setup.py clean``. Later on I did that >> properly, after I noticed that the offending commit reported by b

Re: [Matplotlib-users] Bus error related to ft2font on Mac OS X (10.6), gcc-4.2, apparently 0.99 branch related

2011-11-10 Thread Michael Droettboom
On 11/10/2011 05:16 PM, Friedrich Romstedt wrote: > Furthermore, Michael is right, while bisecting I didn't ``rm build/`` > properly; I just did ``python2.6 setup.py clean``. Later on I did that > properly, after I noticed that the offending commit reported by bisect > actually runs cleanly. I t

Re: [Matplotlib-users] Bus error related to ft2font on Mac OS X (10.6), gcc-4.2, apparently 0.99 branch related

2011-11-10 Thread Friedrich Romstedt
2011/11/10 Michael Droettboom : > Can you get a traceback from gdb?  The following should do it: > >     gdb python2.6 For some reason I cannot load python2.6 from gdb: This GDB was configured as "x86_64-apple-darwin"...Reading symbols for shared libraries .. done (gdb) run Starting program: /Li

Re: [Matplotlib-users] Matplotlib "show()" error Mac OS X Lion

2011-11-10 Thread Russell E. Owen
In article <1320891765.14646.yahoomailclas...@web161202.mail.bf1.yahoo.com>, Michiel de Hoon wrote: > --- On Wed, 11/9/11, Russell E. Owen > wrote: > > There is no matplotlib binary for 64-bit Python yet because > > I've not > > figured out how to build one successfully -- I get horrible >

Re: [Matplotlib-users] Bus error related to ft2font on Mac OS X (10.6), gcc-4.2, apparently 0.99 branch related

2011-11-10 Thread Friedrich Romstedt
2011/11/10 Benjamin Root : > On Wednesday, November 9, 2011, Friedrich Romstedt > wrote: >> ``git bisect`` finds "some" first bad commit, but due to the commits >> in other branches after the first real bad commit it gets it a bit >> wrong.  The binary search then skips too far. > > Friedrich, jus

Re: [Matplotlib-users] Time axis for imshow

2011-11-10 Thread Gökhan Sever
On Thu, Nov 10, 2011 at 11:14 AM, Joe Kington wrote: > > >> Although, this doesn't give me millisecond precision. Is there any way to >> get ms precision via datetime module? >> > > > Well, datetime objects, matplotlib's internal float dates, and numpy > datetime64 objects all support microsec

Re: [Matplotlib-users] Time axis for imshow

2011-11-10 Thread Joe Kington
> Although, this doesn't give me millisecond precision. Is there any way to > get ms precision via datetime module? > Well, datetime objects, matplotlib's internal float dates, and numpy datetime64 objects all support microsecond resolution. However matplotlib's locator rules can't handle mic

[Matplotlib-users] Matplotlib.tests sub-modules missing

2011-11-10 Thread David Welch
Hello, I am installing matplotlib on Snow Leopard 10.6. I downloaded v1.1.0 from the sourceforge site and installed in this manner: $ export CFLAGS="-arch i386 -arch x86_64 -I/usr/X11/include -I/usr/X11/include/freetype2 -isysroot /Developer/SDKs/MacOSX10.6.sdk"

Re: [Matplotlib-users] Errors, warnings, fonts and py2exe

2011-11-10 Thread Armando Serrano Lombillo
I'm doing data_files += matplotlib.get_py2exe_datafiles(). By the way, the plot I'm trying to do is in log scale, so it is using superscripts (when I was searching the lists for an answer I saw some posts mentioning this had caused problems). Oh, and I'm using options={'py2exe':{'bundle_files':1,

Re: [Matplotlib-users] Time axis for imshow

2011-11-10 Thread Gökhan Sever
Thanks Joe, I forgot to convert my numeric time array into a form that mpl can understand. I198 time O198 array([ 32643.78595805, 32643.82032609, 32643.85445309, ..., 32871.46535802, 32871.49946594, 32871.53384495]) I199 ncnt O199 array([0001-01-01 09:04:03+00:00, 0001-01-01 09:04:03

Re: [Matplotlib-users] Errors, warnings, fonts and py2exe

2011-11-10 Thread Michael Droettboom
Did you include the fonts as described here? http://www.py2exe.org/index.cgi/MatPlotLib Mike On 11/10/2011 08:03 AM, Armando Serrano Lombillo wrote: Hello, I'm having a weird problem with matplotlib not finding fonts when being used from a py2exe packed program. The weird thing is that the p

Re: [Matplotlib-users] Bus error related to ft2font on Mac OS X (10.6), gcc-4.2, apparently 0.99 branch related

2011-11-10 Thread Michael Droettboom
Can you get a traceback from gdb? The following should do it: gdb python2.6 at the gdb prompt, type "run", then at the Python prompt, reproduce the error using "import matplotlib.figure". It should crash, then type "bt" to get a traceback. That may illustrate the source of the error. A

Re: [Matplotlib-users] Time axis for imshow

2011-11-10 Thread Joe Kington
On Wed, Nov 9, 2011 at 11:45 PM, Gökhan Sever wrote: > Hello, > > Is there any easy way to specify a time-axis using imshow to plot 2D data? > > Sure, just call "ax.xaxis_date()" (or "yaxis_date", depending on which axis you want to represent a date). As a quick example: import matplotlib.pyplo

[Matplotlib-users] Errors, warnings, fonts and py2exe

2011-11-10 Thread Armando Serrano Lombillo
Hello, I'm having a weird problem with matplotlib not finding fonts when being used from a py2exe packed program. The weird thing is that the program works fine on some computers, gives an annoying warning in others (but otherwise keeps working and plots things ok) or gives an error (and no plot is

Re: [Matplotlib-users] Ternary Plot

2011-11-10 Thread Kevin Davies
Elmar, Please let me know if you have any comments or suggestions on the ternary projection. I hope that it's not too far from being worthy to pull into matplotlib. (I'd need to merge the branch with the latest development version of matplotlib.) Thanks, Kevin On 11/04/2011 07:11 AM, Elmar

Re: [Matplotlib-users] Matplotlib "show()" error Mac OS X Lion

2011-11-10 Thread Ludwig Schwardt
Hi Bedartha and others, I have matplotlib 1.1.0 running fine on Mac OS X Lion with TkAgg, Qt4Agg, MacOSX and mplh5canvas ;-) backends in good working condition. My humble opinion is that this works because I do not try to replace System Python with my own version. Given that Lion ships with P