[Matplotlib-users] Segmentation fault with import pylab statement

2007-07-06 Thread Achim Gaedke
Hi! This little prorgram (it accidentially came to my keyboard) results in a segmentation fault: # start import numpy import pylab pulsewidth=3e-6 t_array=(numpy.arange(2048, dtype=numpy.float32)-1024)*90e-9 sinc_array=numpy.array((len(t_array),),dtype=numpy.float32) sinc_array[:]=1e-6 sinc_array

Re: [Matplotlib-users] Printing with gtk-2.10

2006-12-28 Thread Achim Gaedke
Hi Steve! Yes, that's right. Most of the people will help themselves with saving the picture and then printing by an arbitary program. On Linux I would implement printing via pipelines to lp, but on Windows I have no clue how to get the job done. So I was glad to find the PrintOperations for GTK2

[Matplotlib-users] Printing with gtk-2.10

2006-12-20 Thread Achim Gaedke
Hi there! I implemented a Print method with gtk-2.10 PrintOperations... It was not easy, because of some transformations issues inside matplotlib... My wish is: The plot window navigation bar should provide a print button in future. I think many people are missing this button. Here, I want to pr

Re: [Matplotlib-users] compile error with python2.5

2006-09-20 Thread Achim Gaedke
Hi there! I built numpy-1.0b5 and pygtk with python2.5 on Sunday. It worked, but I use numarray as standard numerix extension. There was a bugfix for numpy-1.0b5 that is already contained in their repository version. Yours, Achim Charlie Moad wrote: > It builds now. We still have to wait on a u

Re: [Matplotlib-users] compile error with python2.5

2006-09-20 Thread Achim Gaedke
Hello Charlie! Hmmm... Basically you are right. But maybe you are more familiar with SWIG issues than I am. Ok, I will do the job and go to swig and have a look: http://swig.cvs.sourceforge.net/swig/SWIG/Lib/python/pyrun.swg?r1=1.143&r2=1.144 You will find this error corrected five months ago.

[Matplotlib-users] compile error with python2.5

2006-09-17 Thread Achim Gaedke
While compiling matplotlib-0.87.5 with python-2.5 on debian testing some errors occured: gcc: src/agg.cxx cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ src/agg.cxx: In function 'int SWIG_Python_ConvertPtr(PyObject*, void**, swig_type_info*, int