Oct-05-2021, 07:35 PM
It works as I mentioned. When capturing a pyplot plot (I don't have seaborn) my 100dpi plot was 300x300 pixels and the 1000dpi plot was 3000x3000 pixels when opened in Paint. This must be a seaborn thing.
I found this when looking for resizing a heatmap. Looks like the kitchen sink approach.
https://stackoverflow.com/questions/4333...ng-seaborn
I found this when looking for resizing a heatmap. Looks like the kitchen sink approach.
https://stackoverflow.com/questions/4333...ng-seaborn
plt.figure(figsize=(6, 6), dpi = 600) # I would go higher than this sns.heatmap(corr, cmap="Blues", annot=True, annot_kws={"size": 8}) #Make labels and annotation bigger too plt.tick_params(axis = 'x', labelsize = 12) # x font label size plt.tick_params(axis = 'y', labelsize = 12) # y font label size