etiennesky / profiletool

14 stars 36 forks source link

Axis tick labels are clipped on Windows with matplotlib #26

Open borysiasty opened 8 years ago

borysiasty commented 8 years ago

Issue moved from hub.qgis.org Bug report #10642 Added by Mikhail Titov 2014-06-19

All axes tick labels are clipped both on screen and when exported. Originally I stumbled upon tight_layout in matplotlib, but later once I saw this http://stackoverflow.com/questions/9603230/how-to-use-matplotlib-tight-layout-with-figure, it looks like using add_subplot(1,1,1) seems enough instead of fixed margins.

before

after