How can I set my points color depending on datetime column in pyplot?

547 Views Asked by At

So I have this basic chart:

ax1.plot(df['data1'], df['data2'], '.', label = 'data1 vs data2')

I'd like to color each point according to a third column which is a timestamp. How could I go about it ?

0

There are 0 best solutions below