The color does not get diplayed when using a DataFrame with a DateTime index.
import pandas as pd
import plotly.express as px
df = pd.DataFrame({
"x":[1,2,3,4],
"y":[10,20,10,20],
"z":[-1,-2,-3,-4],
"color":[1,2,3,4]
})
df.index = pd.DatetimeIndex(["1/1/2020 10:00:00+00:00", "2/1/2020 11:00:00+00:00", "3/1/2020 10:00:00+00:00", "4/1/2020 11:00:00+00:00"])
px.scatter_matrix(df, color = "color")