Legend for histogram
I can't make the legend for histograms work as I want it to. I can make a legend with the labels appear but the corresponding indicator doesn't show the colors just two black vertical lines.
Here's a minimial example:
d1=[randint(0,10) for i in range(20)] d2=[randint(0,10) for i in range(20)] h=histogram([d1,d2],label=["d1","d2"]) h.legend(True) h