From: Neal B. <ndb...@gm...> - 2013-01-27 17:54:56
|
Damon McDougall wrote: > On Sun, Jan 27, 2013 at 8:56 AM, Neal Becker > <ndb...@gm...> wrote: >> Simple example: the bars on the two x axis ends are not visible. >> >> x = [3, 6, 10] >> y = [1, 2, 3] >> import matplotlib.pyplot as plt >> >> plt.errorbar (x, y, 0.2) > > Try adding a plt.xlim(2, 11) here. > >> plt.show() >> Yes that'll fix it - but ideally autoscaling should work correctly. |