Eric Firing wrote:
> Norbert,
>   
>>>   
>>>       
>>>> The problem in r2790: I changed the default value in matplotlibrc to
>>>> 'auto' and everything worked fine for me. I forgot that, of course,
>>>> anybody updating from an older version, would still have the values
>>>> 'blue' and 'black' in their matplotlibrc, which would not be overridden
>>>> by the '.r' option that Stefan used.
>>>>     
>>>>         
>>> This is not the first time matplotlibrc has bitten us, and it won't be 
>>> the last...
>>>
>>> But *shouldn't* '.r' override a setting in matplotlibrc, regardless of 
>>> what that setting is?  I think it should have set the mfc, or preferably 
>>> both the mfc and the mec.
>>>   
>>>       
>> OK, that would be an alternative solution: set both mfc and mec to
>> 'auto', whenever the color is specified using a format string. However,
>> this would mean that the rcfile options markeredgecolor and
>> markerfacecolor are often ignored, even if they were set on purpose. If
>> that is the case, one could just as well deactivate them completely and
>> prevent some confusion.
>>
>>     
>
> Either I am not understanding you correctly, or we have fundamentally 
> different views of the role of matplotlibrc values.  The way I see it, 
> function args and kwargs *always* override matplotlibrc values, which in 
> turn *always* override built-in defaults.  So in the example above, if 
> the user writes "plot(x,y,'r.')", red dots should be plotted no matter 
> what is in matplotlibrc.  It should not depend on whether something is 
> set to 'auto'.
>   

I fully agree with you.

Guess, the simple solution to the dilemma is to drop the idea of
rcfile-configurability of markerfacecolor and markeredgecolor. That way,
markers would always have the same color as the line, unless explicitely
set differently by the kwargs markeredgecolor/markerfacecolor.

This is, what is wanted in 99% of the cases and for every other case, a
rcfile-option will not help anyway.

Greetings,
Norbert



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to