How can I make the y axis sort by time?

I have a dataframe like this, the elements in dataframe all are datetime.time (not string):

image

And I plot it by px.scatter(df):

How can I make the y axis sort by time?

hi @joehuang

came across the same issue but have not found a solution. My topic is here: Timestamps y-axis in px.scatter