Re: [Matplotlib-users] matplotlib colors vs html colors

2010-04-14 Thread Jae-Joon Lee
On Sun, Apr 11, 2010 at 12:40 PM, Peter Butterworth butt...@gmail.com wrote: sorry if this has been covered before, but I must say I've found the following quite confusing : color=cyan is not in fact equivalent to color='c' in colors.py  : Commands which take color arguments can use

Re: [Matplotlib-users] matplotlib colors vs html colors

2010-04-14 Thread John Hunter
On Wed, Apr 14, 2010 at 2:14 PM, Jae-Joon Lee lee.j.j...@gmail.com wrote: John, the relevant code to define the colors attribute seems to be written by you. Maybe this is some matlab convention? Can you comment on this? The original color letters did come from matlab, and some of the color

Re: [Matplotlib-users] matplotlib colors vs html colors

2010-04-14 Thread Eric Firing
John Hunter wrote: On Wed, Apr 14, 2010 at 2:14 PM, Jae-Joon Lee lee.j.j...@gmail.com wrote: John, the relevant code to define the colors attribute seems to be written by you. Maybe this is some matlab convention? Can you comment on this? The original color letters did come from matlab,

Re: [Matplotlib-users] matplotlib colors vs html colors

2010-04-14 Thread Peter Butterworth
matlab colors seem to follow html : http://www.mathworks.com/access/helpdesk/help/techdoc/ref/colorspec.html I would agree that yellow is not very readable at all. Could possibly the short-hand colors be made user configurable in .matplotlibrc to suit individual taste ? In any case, this issue

Re: [Matplotlib-users] matplotlib colors vs html colors

2010-04-14 Thread Peter Butterworth
On Thu, Apr 15, 2010 at 5:16 AM, Peter Butterworth butt...@gmail.com wrote: matlab colors seem to follow html : http://www.mathworks.com/access/helpdesk/help/techdoc/ref/colorspec.html for c, m, y but not for green, where matplotlib does follow html ...

[Matplotlib-users] matplotlib colors vs html colors

2010-04-11 Thread Peter Butterworth
sorry if this has been covered before, but I must say I've found the following quite confusing : color=cyan is not in fact equivalent to color='c' in colors.py : Commands which take color arguments can use several formats to specify the colors. For the basic builtin colors, you can use a