I am trying to plot temperature data points according to their time recording.
t = ['2021-12-11T0:6:15', '2021-12-11T7:15', '2021-12-11T8:15', '2021-12-11T9:15', '2021-12-11T10:15']
temp = [33.6, 33.6, 33.6, 33.6, 33.6]
Note: as you have mentioned t
is represented without hour
, the reason is that temp
been collected in hour:second
.
t
is a string representing the date and time in ISO 8601 format (ref:
For more advanced strategies, such as sub-classing AxisItem
for custom tickStrings
generator, please refer to this