+ 1
How do I correctly use date2num for matplotlib?
I am trying to make a graph that takes x and y from a log file. The x strings are datetimes (Y-MM-DD-H-M). Matplotlib needs to convert them with matplotlib.date How do I use date2num correctly? What do I need as arguments? Thanks in advanced
1 Odpowiedź
+ 2
https://code.sololearn.com/cqa91rs1BaA3/?ref=app
I can’t test it, but I believe this is everything you need to have to use matplotlib. It’s at the bottom of the code