Friday, January 27, 2017

python pyplot graph margins

matplotlib.pyplot.margins(*args, **kw)
Set or retrieve autoscaling margins.
signatures:
margins()
returns xmargin, ymargin
margins(margin)

margins(xmargin, ymargin)

margins(x=xmargin, y=ymargin)

margins(..., tight=False)
 
  http://matplotlib.org/1.3.1/api/pyplot_api.html#matplotlib.pyplot.margins