<div dir="ltr">Yeah, I think we ran into that during the live tutorial. IIRC, the `color` keyword argument was overriding the `edgecolor` keyword argument.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 10, 2017 at 10:40 AM, Andrew Jaffe <span dir="ltr"><<a href="mailto:a.h.jaffe@gmail.com" target="_blank">a.h.jaffe@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I've been working through Ben Root's excellent Anatomy of Matplotlib tutorial at <a href="https://github.com/matplotlib/AnatomyOfMatplotlib/" rel="noreferrer" target="_blank">https://github.com/matplotlib/<wbr>AnatomyOfMatplotlib/</a>.<br>
<br>
In the course of this (exercise 2.1 in particular), I've noticed that the `edgecolor` argument to `ax.bar(...)` doesn't work as advertised:<br>
<br>
> edgecolor : scalar or array-like, optional<br>
>    the colors of the bar edges<br>
<br>
However, it doesn't seem to work as a scalar: in that case it only applies to the first bar; instead you need to supply `(color,)*len(x)` or similar.<br>
<br>
It fails the same way whether or not we use something like `plt.style.use('classic')` or `mpl.rcParams['patch.force_edg<wbr>ecolor'] = True`<br>
<br>
Is this a bug, something weird in my setup, or am I missing something?<br>
<br>
Andrew<br>
<br>
______________________________<wbr>_________________<br>
Matplotlib-users mailing list<br>
<a href="mailto:Matplotlib-users@python.org" target="_blank">Matplotlib-users@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/matplotlib-users" rel="noreferrer" target="_blank">https://mail.python.org/mailma<wbr>n/listinfo/matplotlib-users</a><br>
</blockquote></div><br></div>