Dear deanhystad,
I think dpi is related to the quality of the image, not the size.
I think dpi is related to the quality of the image, not the size.
from pandas import read_csv import matplotlib.pyplot as plt import seaborn as sns import numpy as np import numpy.ma as ma import pandas as pd dataset = pd.read_csv('Santé3.csv', sep= ';', encoding='latin-1', index_col=0) dataset.drop(['Dynaverage'], axis=1, inplace=True) corr = dataset.corr() plt.figure(figsize=(200,30)) plt.subplots(figsize=(15,8)) sns.heatmap(corr, cmap='coolwarm', vmin=-1, vmax=1, annot=True, mask=mask) plt.savefig("correlation.png", dpi=400)