热图不支持阿拉伯字母

时间:2019-07-09 07:56:59

标签: python plotly seaborn heatmap

我无法在热图的y轴上显示阿拉伯字母 这是我的代码

import seaborn as sns; sns.set()
heat = Heating_map.pivot("ISIC4_ARABIC", "BUSINESS_CATEGORY", "Yes")

import matplotlib.pyplot as plt

plt.figure(figsize = (25,15))

ax = sns.heatmap(heat, cmap='coolwarm', linewidths=1, annot=True, vmax=5, fmt='.1f', square=True, cbar=True)

enter image description here

0 个答案:

没有答案