Re: [Matplotlib-users] 16bit tiff support?

2010-02-15 Thread Philipp Lies
Jeff Whitaker wrote: > Philipp Lies wrote: >> On 02/12/2010 07:49 PM, Eric Firing wrote: >> >>> Philipp Lies wrote: >>> >>>> Hi, >>>> >>>> is there a backend that supports 16bit tiff images? >>>> >

Re: [Matplotlib-users] 16bit tiff support?

2010-02-15 Thread Philipp Lies
On 02/12/2010 07:49 PM, Eric Firing wrote: > Philipp Lies wrote: >> Hi, >> >> is there a backend that supports 16bit tiff images? > > Can you just use png, and use the netpbm utilities or ImageMagick > convert program to go to and from tiff? Would be 'dirty&

[Matplotlib-users] 16bit tiff support?

2010-02-12 Thread Philipp Lies
, '.join(formats))) ValueError: Format "tif" is not supported. Supported formats: emf, eps, pdf, png, ps, raw, rgba, svg, svgz. >>>matplotlib.backends.backend 'gdk' matplotlib 0.99.0 python 2.6.4 ubuntu karmic x64 If matplotlib cannot provide tiff support, does some

Re: [Matplotlib-users] setting user defined color map as default

2009-08-04 Thread Philipp Lies
uld not be also difficult. > > Take a look at the definition of "jet" function (for example) in the > > pylab.py. > > > > We may be better to have a proper way to register a custom colormap. > > I'll try to take a more look later, but any patch will be

Re: [Matplotlib-users] setting user defined color map as default

2009-07-30 Thread Philipp Lies
Does no one have an idea? If not, this is a severe usability bug! Philipp Lies wrote: > > Hi, > > I just created a hsv-like color map with gray levels only, now I'd like to > use this as default color map. But how? Calling it like hsv() does not > work and I did

[Matplotlib-users] setting user defined color map as default

2009-07-21 Thread Philipp Lies
Hi, I just created a hsv-like color map with gray levels only, now I'd like to use this as default color map. But how? Calling it like hsv() does not work and I did not find a hint in the documentation how to set a user defined color map interactively as default color map. Cheers Philipp -- Vi

[Matplotlib-users] Converting figure to numpy array

2009-03-24 Thread Philipp Lies
and TkAgg as backend. Someone knows how to do this neatly? Cheers Philipp - -- Philipp Lies Max Planck Institute for Biological Cybernetics Computational Vision & Neuroscience Group Spemannstr. 41 D-72076 Tuebingen Germany Phone: +49-7071-601-1788 Fax:+49-7071-601-552 E-Mail:

[Matplotlib-users] Segmentation fault when calling imshow with complex array

2009-01-15 Thread Philipp Lies
Hi, I have a problem with pyplot. When I'm passing an numpy array with complex entries to imshow I receive the error message: TypeError: array cannot be safely cast to required type Which is ok, when I thereafter call imshow with a valid image (i)python segfaults. Sometimes it even segfaults ins