✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
🐇 Announcing Dash VTK for 3d simulation graphics. Check out the March webinar.

Can Plotly express have 2 x axis

Hi,

I’m attempting to plot a regression line that uses date as its x axis but in order for it to work the x axis needed to be converted into ordinal format which is difficult to infer meaning from. Therefore, I’m trying to see if the ordinal plot could be overlayed ontop of the datetime plot so that the normal axis is still present but im having difficulty figuring out how.

    fig = px.scatter(df_filtered,
            x = "ordinal_date",
            y = "Average q30",
            color= "instrument_type",
           hover_data=["run_id","run_date","Average q30"],
           trendline= "ols",
           )

Any help is appreciated.