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()