[Matplotlib-users] segfault on OSX

2011-05-07 Thread Ondrej Certik
Hi, I am using Matplotlib 1.0 precisely from this branch: https://github.com/matplotlib/matplotlib/tree/v1.0.x everything works on Linux, and on Mac, I am getting a segfault when I do import pylab. Stacktrace is here: https://gist.github.com/960896 I produced it by: gdb python (gdb) run

Re: [Matplotlib-users] segfault on OSX

2011-05-07 Thread Ondrej Certik
On Sat, May 7, 2011 at 3:34 PM, Ondrej Certik ond...@certik.cz wrote: Hi, I am using Matplotlib 1.0 precisely from this branch: https://github.com/matplotlib/matplotlib/tree/v1.0.x everything works on Linux, and on Mac, I am getting a segfault when I do import pylab. Stacktrace is here

[Matplotlib-users] pcolor() to VTK

2009-07-08 Thread Ondrej Certik
Hi, I just wanted to share a simple code that I wrote: http://certik.github.com/visit_writer/ which uses Visit's VTK writer (written in C, wrapped in Python). I wrote a pcolor() function, that works just like the one in matplotlib, only it produces a vtk file (resp. data that you then pass to

Re: [Matplotlib-users] calling show() twice in a row

2009-07-07 Thread Ondrej Certik
figure ioff() # turn off interactive mode show() On Monday 06 July 2009 08:13:37 Ondrej Certik wrote: On Tue, Jun 30, 2009 at 12:09 PM, Ondrej Certikond...@certik.cz wrote: Hi, this must have been answered many times already, but I searched the archives, online docs

Re: [Matplotlib-users] calling show() twice in a row

2009-07-06 Thread Ondrej Certik
On Tue, Jun 30, 2009 at 12:09 PM, Ondrej Certikond...@certik.cz wrote: Hi, this must have been answered many times already, but I searched the archives, online docs, but couldn't find anything. If I do: $ python Python 2.6.2 (release26-maint, Apr 19 2009, 01:58:18) [GCC 4.3.3] on linux2

[Matplotlib-users] calling show() twice in a row

2009-06-30 Thread Ondrej Certik
Hi, this must have been answered many times already, but I searched the archives, online docs, but couldn't find anything. If I do: $ python Python 2.6.2 (release26-maint, Apr 19 2009, 01:58:18) [GCC 4.3.3] on linux2 Type help, copyright, credits or license for more information. import pylab

Re: [Matplotlib-users] plot a triangular mesh

2009-05-25 Thread Ondrej Certik
On Mon, May 25, 2009 at 1:03 AM, Robert Cimrman cimrm...@ntc.zcu.cz wrote: Ondrej Certik wrote: On Fri, May 22, 2009 at 3:37 PM, Ondrej Certik ond...@certik.cz wrote: Thanks a lot John. I tried that and it does what I want. I just need to convert and probably average my 3 different values

Re: [Matplotlib-users] two scales in the same plot

2009-04-29 Thread Ondrej Certik
On Fri, Apr 24, 2009 at 1:10 PM, Sandro Tosi mo...@debian.org wrote: Hi Ondrej, nice to see you here :) Nice to see you too! :) On Fri, Apr 24, 2009 at 22:02, Ondrej Certik ond...@certik.cz wrote: Hi, is there a way to have one plot with two functions, one using some scale, the other one

[Matplotlib-users] two scales in the same plot

2009-04-24 Thread Ondrej Certik
Hi, is there a way to have one plot with two functions, one using some scale, the other one a different scale and show for example one scale on the left, the other scale on the right? I want to plot an atomic potential (one scale) and the corresponding wave functions (different scale) in the

[Matplotlib-users] histogram(x, bin): x-axis range should be based on bin.min() and bin.max() when bin is a sequence

2008-12-19 Thread Ondrej Certik
Hi, we got this Debian bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=503148 Citing: the following python code creates a histogram with an x-axis range of 0.1 min to 0.3 max (based on the mins and maxes of the x rather than bin). the bins should be used to size the axis since the user

Re: [Matplotlib-users] histogram(x, bin): x-axis range should be based on bin.min() and bin.max() when bin is a sequence

2008-12-19 Thread Ondrej Certik
On Fri, Dec 19, 2008 at 6:34 PM, Sandro Tosi mo...@debian.org wrote: Hello Ondrej, On Fri, Dec 19, 2008 at 18:18, Ondrej Certik ond...@certik.cz wrote: we got this Debian bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=503148 ... I tested that this applies to 0.98.3. Is this a bug

Re: [Matplotlib-users] latest debian package

2008-10-08 Thread Ondrej Certik
On Wed, Oct 8, 2008 at 6:46 PM, Angus McMorland [EMAIL PROTECTED] wrote: Hi all, This is just a head's-up for those using debian and who upgrade regularly. There's a problem with the latest debian package to hit testing: 0.98.1-1, which is currently unusable, throwing up the error:

Re: [Matplotlib-users] ./make.py html fails

2008-06-10 Thread Ondrej Certik
On Tue, Jun 10, 2008 at 3:35 AM, Ryan May [EMAIL PROTECTED] wrote: John Hunter wrote: I posted a snapshot of the docs at: http://matplotlib.sourceforge.net/doc/html/index.html WOW. I love the way sphinx docs look. But more importantly, great work you guys on improving the

[Matplotlib-users] ./make.py html fails

2008-06-09 Thread Ondrej Certik
Hi, I did: $ svn co https://matplotlib.svn.sourceforge.net/svnroot/matplotlib/trunk/matplotlib $ cd matplotlib/doc $ ./make.py html making figs building pyplot_formatstr.py building dollar_ticks.py building pyplot_text.py building pyplot_two_subplots.py building fig_x.py

Re: [Matplotlib-users] ./make.py html fails

2008-06-09 Thread Ondrej Certik
On Mon, Jun 9, 2008 at 5:41 PM, John Hunter [EMAIL PROTECTED] wrote: On Mon, Jun 9, 2008 at 10:23 AM, Ondrej Certik [EMAIL PROTECTED] wrote: In the meantime, I am trying to package numpy 1.1 for Debian, but when I installed it and did import numpy, I got: ImportError: No module named ma