我正在尝试使用python中的seaborn创建一个kde图,但是在设置以科学记数法显示的颜色条值时,我看不出有什么不同。请参阅- making colorbar with scientific notation in seaborn获取一个高度相关的主题。有关seaborn的https://seaborn.pydata.org/generated/seaborn.kdeplot.html类<e
目前,如果我将matplotlib y轴的挠度标签设置为科学模式,它就会在1e-5表单y轴的顶部给出一个指数。下面是我的示例代码:fig, ax = plt.subplots()
# the y valuesthe problem
ax.text(0.5, 0.5/100000.0, r'$\mathregular{10^{-2}}$