需要在两个热图中设置 zmin=1, zmax=100。
Just an update in terms of newer versions: in v4 you can specify a shared coloraxis, and update properties for the specified coloraxis in layout: eg for python
fig.add_trace(go.Heatmap(z = z, x = x, y = y, coloraxis = 'coloraxis1'))
fig.update_layout(coloraxis1 = {'colorscale':'Electric'})
你能分享这个日历即的代码吗?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.