Re: [matplotlib-devel] rgb versus cmyk

2007-11-21 Thread Robert Kern
Ludwig Schwardt wrote: > Possible solutions: > > - Use colors that are safe for printing and displaying (less saturated > colors?). Avoid the extreme (255,0,0), (0,255,0), (0,0,255) colors, yes. For reasons which are fairly obvious given the physics, RGB devices do better displaying those than

Re: [matplotlib-devel] [Fwd: Nabble - War on trailing whitespace]

2007-11-21 Thread Andrew Straw
Eric Firing wrote: > Yes, I understand, and I am sorry--but I hope it is one-time pain to > avoid continuing pin-pricks. If svn ignored trailing whitespace, then > there would be no problem; I could continue to use an editor that > removes it, and you could continue to use editors that gratuito

Re: [matplotlib-devel] [Fwd: Nabble - War on trailing whitespace]

2007-11-21 Thread Fernando Perez
[oops, meant on-list ] On Nov 21, 2007 12:52 PM, Andrew Straw <[EMAIL PROTECTED]> wrote: > Thanks, that works, but unforunately only on emacs21 but not xemacs 21. > Looks like I'll now have to find a way to do the one thing in emacs that > keeps me using xemacs: goto-line bound to M-g. (Any quick

Re: [matplotlib-devel] [Fwd: Nabble - War on trailing whitespace]

2007-11-21 Thread Andrew Straw
Thanks, that works, but unforunately only on emacs21 but not xemacs 21. Looks like I'll now have to find a way to do the one thing in emacs that keeps me using xemacs: goto-line bound to M-g. (Any quick tips appreciated.) -Andrew John Hunter wrote: > On Nov 21, 2007 1:37 PM, Andrew Straw <[EMAIL

Re: [matplotlib-devel] [Fwd: Nabble - War on trailing whitespace]

2007-11-21 Thread John Hunter
On Nov 21, 2007 1:37 PM, Andrew Straw <[EMAIL PROTECTED]> wrote: > Can you give me a pointer about what exactly you did? Just now, I just > discovered a whitespace-cleanup and a whitespace-visual-mode. It'd be > nice if there was something that automatically showed just tabs and > end-of-line whit

Re: [matplotlib-devel] [Fwd: Nabble - War on trailing whitespace]

2007-11-21 Thread Andrew Straw
John Hunter wrote: > ( I configured my emacs to detect > whitespace) and suspect I may have been a trailing whitespace > contributer, Can you give me a pointer about what exactly you did? Just now, I just discovered a whitespace-cleanup and a whitespace-visual-mode. It'd be nice if there was somet

Re: [matplotlib-devel] updating an image with a colorbar, performance issues

2007-11-21 Thread Darren Dale
Thank you for tracking this down, Mike. Darren On Wednesday 21 November 2007 11:17:04 am Michael Droettboom wrote: > It seems that the set of callbacks held by the Axis objects was not > being cleared by cla(). > > This has been fixed in SVN r4404, and does seem to correct your example > script.

Re: [matplotlib-devel] updating an image with a colorbar, performance issues

2007-11-21 Thread Michael Droettboom
It seems that the set of callbacks held by the Axis objects was not being cleared by cla(). This has been fixed in SVN r4404, and does seem to correct your example script. I'd appreciate a sanity check by the other developers to make sure that change makes sense -- i.e. that the Axis callbacks

Re: [matplotlib-devel] TypeError: sort() takes no keyword arguments

2007-11-21 Thread Michael Droettboom
Sorry -- I accidentally used a feature only available in Python 2.4 and above. I have added a fix in SVN r4402. Since I don't have a Python2.3 to test with, can you please let me know if that fixes your problem? Cheers, Mike Nils Wagner wrote: > Hi all, > > I have installed matplotlib via sv

[matplotlib-devel] TypeError: sort() takes no keyword arguments

2007-11-21 Thread Nils Wagner
Hi all, I have installed matplotlib via svn on Centos (x86-64 python2.3). If I try to import pylab I get Python 2.3.4 (#1, May 2 2007, 19:18:17) [GCC 3.4.6 20060404 (Red Hat 3.4.6-8)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from pylab import plot, s

Re: [matplotlib-devel] updating an image with a colorbar, performance issues

2007-11-21 Thread Michael Droettboom
I should have some time today to look at this, unless any other developers already know an obvious solution. Cheers, Mike Darren Dale wrote: > I have been working on an application which is basically a dressed up version > of embedding_in_qt4.py. I have two canvases, one is just a plot, the oth

Re: [matplotlib-devel] rgb versus cmyk

2007-11-21 Thread Ludwig Schwardt
Hi, On Nov 21, 2007 3:39 PM, Gael Varoquaux <[EMAIL PROTECTED]> wrote: > I have had some problems printing posters on a plot where indeed the > colors came out a bit wrong. I was told by the staff that it was because > the conversion RGB->CMYK was handled differently by different printers > and sc

Re: [matplotlib-devel] rgb versus cmyk

2007-11-21 Thread Gael Varoquaux
I have had some problems printing posters on a plot where indeed the colors came out a bit wrong. I was told by the staff that it was because the conversion RGB->CMYK was handled differently by different printers and screens. I don't know if providing and ICC profile would solve the problem, but it

Re: [matplotlib-devel] rgb versus cmyk

2007-11-21 Thread Michael Droettboom
Ludwig Schwardt wrote: >> Publishers sometimes require electronic figures as tif or eps, and using >> the cymk color system. We do everything in rgb. I don't understand >> color systems well. What would be needed to give mpl the ability to >> produce files using the cymk system? > > PDF/X-3 mig

Re: [matplotlib-devel] rgb versus cmyk

2007-11-21 Thread Ludwig Schwardt
Hi, > Publishers sometimes require electronic figures as tif or eps, and using > the cymk color system. We do everything in rgb. I don't understand > color systems well. What would be needed to give mpl the ability to > produce files using the cymk system? I don't understand color systems very