garrettj403 / SciencePlots

Matplotlib styles for scientific plotting

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Zoom Issue with tk on macos python 3.9

pmcb99 opened this issue · comments

The plots are zoomed in too much on Mac with Python 3.9.
image

what style are you using?

It's likely that the DPI is set too high. You can fix this by adding this line to the top of your script:

plt.rcParams.update({'figure.dpi': '100'})

Replace 100 with whatever looks good on your computer.

What a guy. Thanks for that!