markercolor broken

Hi all

The marker behaviour changed in

···

------------------------------------------------------------------------
r2790 | nnemec | 2006-09-29 11:46:57 +0200 (Fri, 29 Sep 2006) | 1 line

reworked linestyle and markercolor handling

For example, try the following:

N.plot(N.random.random(1000),'r.')

Note that all the dots are blue!

Regards
Stéfan

Stefan,

Thanks for the bug report--it is surprising that no one noticed this earlier. It looks like Norbert's changes completely wiped out the setting of markerfacecolor and markeredgecolor. I have reverted axes.py in svn to the 2788 revision (via revision 2799) so that it will work until Norbert gets a chance to add marker handling back into his patch and reapply it.

Eric

Stefan van der Walt wrote:

···

Hi all

The marker behaviour changed in

------------------------------------------------------------------------
r2790 | nnemec | 2006-09-29 11:46:57 +0200 (Fri, 29 Sep 2006) | 1 line

reworked linestyle and markercolor handling

For example, try the following:

N.plot(N.random.random(1000),'r.')

Note that all the dots are blue!

Hi,

some times ago I saw that the rgb color was not working anymore, the hexa code
yes but not the rgb.

markerfacecolor=(120,120,120,)

retrun this error:

ValueError: to_rgb: Invalid rgb arg "(120, 120, 120)"
to_rgb: Invalid rgb arg "(120, 120, 120)"

but:

markerfacecolor='#888888'

is working fine

I send a mail, I don't remember if I had time to post a bug report. Perhaps is
it link?

N.

···

Le dimanche 8 octobre 2006 15:49, Eric Firing a écrit :

Stefan,

Thanks for the bug report--it is surprising that no one noticed this
earlier. It looks like Norbert's changes completely wiped out the
setting of markerfacecolor and markeredgecolor. I have reverted axes.py
in svn to the 2788 revision (via revision 2799) so that it will work
until Norbert gets a chance to add marker handling back into his patch
and reapply it.

Eric

Stefan van der Walt wrote:
> Hi all
>
> The marker behaviour changed in
>
> ------------------------------------------------------------------------
> r2790 | nnemec | 2006-09-29 11:46:57 +0200 (Fri, 29 Sep 2006) | 1 line
>
> reworked linestyle and markercolor handling
>
>
> For example, try the following:
>
> N.plot(N.random.random(1000),'r.')
>
> Note that all the dots are blue!

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your opinions on IT & business topics through brief surveys -- and earn
cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Hi Stefan,

as of rev. 2800, the problem should be solved. For more details, see the
discussion about "marker color handling" on matplotlib-devel.

Greetings,
Norbert

Stefan van der Walt wrote:

···

Hi all

The marker behaviour changed in

------------------------------------------------------------------------
r2790 | nnemec | 2006-09-29 11:46:57 +0200 (Fri, 29 Sep 2006) | 1 line

reworked linestyle and markercolor handling

For example, try the following:

N.plot(N.random.random(1000),'r.')

Note that all the dots are blue!

Regards
Stéfan

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

I do not see a reason why the problem should be related. If the problem
persists with the latest SVN version, could you please file a bug report?

humufr@...136... wrote:

···

Hi,

some times ago I saw that the rgb color was not working anymore, the hexa code
yes but not the rgb.

markerfacecolor=(120,120,120,)

retrun this error:

ValueError: to_rgb: Invalid rgb arg "(120, 120, 120)"
to_rgb: Invalid rgb arg "(120, 120, 120)"

but:

markerfacecolor='#888888'

is working fine

I send a mail, I don't remember if I had time to post a bug report. Perhaps is
it link?

N.

Le dimanche 8 octobre 2006 15:49, Eric Firing a écrit :
  

Stefan,

Thanks for the bug report--it is surprising that no one noticed this
earlier. It looks like Norbert's changes completely wiped out the
setting of markerfacecolor and markeredgecolor. I have reverted axes.py
in svn to the 2788 revision (via revision 2799) so that it will work
until Norbert gets a chance to add marker handling back into his patch
and reapply it.

Eric

Stefan van der Walt wrote:
    

Hi all

The marker behaviour changed in

------------------------------------------------------------------------
r2790 | nnemec | 2006-09-29 11:46:57 +0200 (Fri, 29 Sep 2006) | 1 line

reworked linestyle and markercolor handling

For example, try the following:

N.plot(N.random.random(1000),'r.')

Note that all the dots are blue!
      

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your opinions on IT & business topics through brief surveys -- and earn
cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
    
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

humufr@...136... wrote:

Hi,

some times ago I saw that the rgb color was not working anymore, the hexa code yes but not the rgb.

markerfacecolor=(120,120,120,)

retrun this error:

ValueError: to_rgb: Invalid rgb arg "(120, 120, 120)"
to_rgb: Invalid rgb arg "(120, 120, 120)"

This really is an invalid rgb arg; a valid equivalent would be (120.0/255, 120.0/255, 120.0/255). Matplotlib colors can be specified in several ways, including triplets of numbers from 0 to 1, but not including triplets of numbers from 0 to 255.

Eric