That looks like exactly what I am looking for. Thanks JJ.
--
View this message in context:
http://matplotlib.1069221.n5.nabble.com/black-and-hatched-legend-handle-tp40979p41247.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
You need to create a new handler. I guess the code below is close to what
you want. I hope this helps.
http://nbviewer.ipython.org/5495680
Regards,
-JJ
On Wed, May 1, 2013 at 5:24 AM, mgurling magurl...@gmail.com wrote:
I'm trying to make a legend handle that is half black and half
I'm trying to make a legend handle that is half black and half hatched. I've
tried ...
...
rpos1 = ax.bar(ind, pos1, width, color='k', label='+1')
rneg1 = ax.bar(ind, neg1, width, color='w', hatch='///', label='-1')
rpos2 = ax.bar(ind, pos2, width, color='w', label='+2')
rneg2 = ax.bar(ind,