【发布时间】:2015-07-18 06:30:11
【问题描述】:
当使用 matplotlibs hexbin 和对数刻度颜色 (bins="log") 创建二维直方图时,颜色条会显示指数而不是值:
如何让它在上图中的 x 和 y 轴中显示值和指数刻度线?
【问题讨论】:
标签: python matplotlib plot histogram
当使用 matplotlibs hexbin 和对数刻度颜色 (bins="log") 创建二维直方图时,颜色条会显示指数而不是值:
如何让它在上图中的 x 和 y 轴中显示值和指数刻度线?
【问题讨论】:
标签: python matplotlib plot histogram
部分答案是使用norm=matplotlib.colors.LogNorm() 而不是bins='log'。不过,这不会显示较小的刻度线
【讨论】: