【发布时间】:2018-06-25 23:17:46
【问题描述】:
我正在定义一个带有二进制 z 值的热图日期时间序列。
go.Heatmap 的输出似乎是正确的......但是,该图只显示了它的一小部分......
谁能帮忙调试?我没有为布局组件设置任何限制(也没有设置任何内容)。
{'colorscale': 'Viridis',
'type': 'heatmap',
'x': [datetime.datetime(2018, 6, 4, 12, 0, 5),
datetime.datetime(2018, 6, 4, 12, 0, 10),
datetime.datetime(2018, 6, 4, 12, 0, 15),
datetime.datetime(2018, 6, 4, 12, 0, 20),
.....
all the way to index 719],
'y': ['MotionSensor'],
'z': ['1',
'1',
'1',
'0',
'0',
'0',
'0',
'0',
.....
all the way to index 719]}
【问题讨论】:
标签: python python-3.x datetime plotly heatmap