On Sun, Mar 18, 2012 at 1:07 PM, Angus McMorland <email@example.com> wrote:
The xlim command can be used to set the x limits. For example:
will prevent the points lying on the axis boundaries for your case.
that worked with ease for separate MPL window, but not inline in IPython.
I guess there is no setting, that will allow setting MPL to automatically adjust default plot window - add padding if bars (which can also be lines or points as in example) are drawn on axes; trim window if if there is no data to plot instead trimming based on grid range; and similar intuitive expectation