Update daily_plot.py

This commit is contained in:
Patrick McGuire
2022-02-12 10:43:19 -05:00
committed by GitHub
parent 0014d7aa95
commit d6465e30ce
+1 -1
View File
@@ -89,7 +89,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[2], yticklabels = False) plot = sns.heatmap(heat, norm=LogNorm(), annot=True, fmt="g", annot_kws={"fontsize":7}, cmap = pal , square = False, cbar=False, linewidths = 0.5, linecolor = "Grey", ax=axs[2], yticklabels = False)
# Set heatmap border # Set heatmap border
for _, spine in plot.spines.items(): for _, spine in plot.spines.items():