Also habe ich < /p>
hours = [x for x in range(7,18)]
columns = [1, 2, 3, 4, 5]
matrixDatos = [[0,1,0,1,0],
[0,1,0,1,1],
[2,3,2,3,2],
[2,3,2,3,3],
[4,5,4,5,4],
[4,5,4,5,5],
[6,7,6,7,6],
[6,7,6,7,7],
[8,9,8,9,8],
[8,9,8,9,8]
]
table = ff.create_table(matrixDatos)
fig = ff.create_annotated_heatmap(matrixDatos, x=columns, y=hours, colorscale='Viridis')
< /code>
, aber sie druckt die Heatmap mit der y -Achse von 18 bis 7>
Gibt es eine Möglichkeit, die Reihenfolge der y -Achse in Heatmap von Plotly umzukehren? ⇐ Python
-
- Similar Topics
- Replies
- Views
- Last post