I rendered a heatmap with seaborn.heatmap() works nicely. However, for a certain purpose I need frames around the plot.
matplotlib.rcParams['axes.edgecolor'] = 'black'
matplotlib.rcParams['axes.linewidth'] = 1
both don't work.
ax = sns.heatmap(x)
for _, spine in ax.spines.items():
spine.set_visible(True)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With