You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make set_marker{edge,face}color(None) more consistent.
Resolving None to mean "the rcParam" is both consistent with the
behavior in `__init__` (which manually maps None to the rcParam) and
with markeredgewidth. In particular, being consistent with `__init__`
ensures that in
```
from pylab import *; from matplotlib.lines import Line2D
rcParams["lines.markerfacecolor"] = "red"
gca().add_artist(Line2D([.1, .9], [.1, .9], marker="o", markerfacecolor=None))
gca().add_artist(Line2D([.1, .9], [.9, .1], marker="o", mfc=None))
```
both lines use "red" as markerfacecolor (previously, the second one
would go through the setter and use "auto" (i.e. the line's color)
instead).
I guess this should have been done when the rcParams were added in
1d9880c, but missed back then.
(No change for markerfacecoloralt because there's no corresponding
rcParam; perhaps one should be added just for completeness?)
0 commit comments