|
From: Goyo <goy...@gm...> - 2012-08-19 16:44:02
|
2012/8/17 mgurling <mag...@gm...>: > 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. Better use xlim to move the y-axis away from the bar: a = [20, 35] nudge = 0.2 ind = np.arange(2) + nudge width = 0.30 bar(ind, a, width) xlim(left=0) Goyo |