Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork8.1k
Closed as not planned
Labels
Milestone
Description
I am having issues with small figures that I am trying to generate. Here is a minimal working example that demonstrates the issue:
import matplotlib.pyplot as pltfig = plt.figure(figsize=(0.5,0.5))plt.savefig('small.png',dpi = 100)which yields a filesmall.png with dimensions 291 x 50 (wxh) so the height is being properly handled, but the width is not. This seems to be a bug. I seem to recall having similar issues with large figures, I can post another mwe for large figsize too.