matplotlib

Travis-CI:

This Page

matplotlib.artist.Artist.set_margins

Artist.set_margins(margins)

Set the dictionary describing whether a margin should be applied on each of the sides (top, bottom, left and right). Missing keys are assumed to be True. If True or False are passed in, all sides are set to that value.