fmt="g" for both

This commit is contained in:
mcguirepr89
2022-03-01 09:12:24 -05:00
parent 7fa41cdc28
commit f85010adb4
+1 -1
View File
@@ -85,7 +85,7 @@ heat_frame = pd.DataFrame(data=0, index=heat.index, columns = hours_in_day)
heat=(heat+heat_frame).fillna(0) heat=(heat+heat_frame).fillna(0)
#Generatie heatmap plot #Generatie heatmap plot
plot = sns.heatmap(heat, norm=LogNorm(), annot=True, annot_kws={"fontsize":7}, cmap = pal , square = False, cbar=False, linewidths = 0.5, linecolor = "Grey", ax=axs[1], yticklabels = False) plot = sns.heatmap(heat, norm=LogNorm(), annot=True, annot_kws={"fontsize":7}, fmt="g", cmap = pal , square = False, cbar=False, linewidths = 0.5, linecolor = "Grey", ax=axs[1], yticklabels = False)
plot.set_xticklabels(plot.get_xticklabels(), rotation = 0, size = 7) plot.set_xticklabels(plot.get_xticklabels(), rotation = 0, size = 7)
# Set heatmap border # Set heatmap border