Open1
seaborn (sns)
Heat map
import seaborn as sns
ax = sns.heatmap(data, annot=True, fmt='', cmap='YlOrRd')
ax.set_xlabel('x-axis')
ax.set_ylabel('y-axis')
plt.savefig("path/filename.png")
move axis to top
ax.xaxis.tick_top()
Heat map
import seaborn as sns
ax = sns.heatmap(data, annot=True, fmt='', cmap='YlOrRd')
ax.set_xlabel('x-axis')
ax.set_ylabel('y-axis')
plt.savefig("path/filename.png")
move axis to top
ax.xaxis.tick_top()