[Matplotlib-users] space between bar and y-axis: works with 2 bars not with 3

2012-08-17 Thread mgurling
I've attached 2.py and 3.py which differ only in how many bars are graphed. The "nudge" variable was intended to move the left-most bar away from the y-axis. This approach seems to work for graphs containing more than 2 bars, but not those with only 2 bars. I'm curious about this behaviour and am i

[Matplotlib-users] black and hatched legend handle

2013-04-30 Thread mgurling
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, neg2,

Re: [Matplotlib-users] black and hatched legend handle

2013-06-10 Thread mgurling
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. ---