[Matplotlib-users] Get color from legend for errorbar plots

Bruno Pagani bruno.pagani at astrophysics.eu
Wed May 22 14:40:07 EDT 2019

Le 22/05/2019 à 20:34, Bruno Pagani a écrit :
> Hi,
> I’ve stumbled upon this very exact issue, for which there is no posted
> answer:
> https://stackoverflow.com/questions/26573864/matplotlib-get-errorbar-color-from-legend
> Does anyone have an idea?
> Regards,
> Bruno

As a side note, I have a workaround that rely on issuing a subsequent
plt.plot with the same data without errorbars, but if someone has a
better solution…

More information about the Matplotlib-users mailing list