Fixed y axis in Python plotting times in 12 hr format
问题 I have this plot but I need the y axis to be fixed to 00:00, 01:00, 02:00, etc all the way up to 12:00. As of now it's only plotting the values I have in the csv on the y axis. the csv is in the following format. How do o get the y axis to be constant and only show 00:00 to 12:00 in 1 hr increments and still have the data plotted correctly? ML INT 0.1 534.15 0:00 ML EXT 0.25 654.23 3:00 ML INT 0.35 743.12 6:30 And the following is the code I have so far. import pandas as pd import matplotlib