Patch: fixed conversion from pt to inch in tight_layout


I noticed that when using tight_layout, the figure padding changes for
different figure.dpi settings. This is caused by an error in when converting
from points to inches. A point is always 1/72 inch and does not depend on
the dots per inches. This is the patch for fixing the conversion:


Pull request


View this message in context:
Sent from the matplotlib - devel mailing list archive at