I create a heatmap with seaborn
df1.index = pd.to_datetime(df1.index) df1 = df1.set_index(\'TIMESTAMP\') df1 = df1.resample(\'30min\').mean() ax = sns.heatmap(
add plt.figure(figsize=(16,5)) before the sns.heatmap and play around with the figsize numbers till you get the desired size
plt.figure(figsize=(16,5))
... plt.figure(figsize = (16,5)) ax = sns.heatmap(df1.iloc[:, 1:6:], annot=True, linewidths=.5)