Hi, I am plotting a simple scatter plot with two y-axis variables (individual traces). I would like to fit a "trendline=βolsβ to only one of the traces. Is that possible?
Blockquote
import pandas as pd
import plotly as plt
import plotly.express as px
import plotly.io as pio
data = pd.read_csv(r"somedata.csv")
plot = px.scatter(data, x=βCxβ, y=[βTmβ,βTgβ], trendline=βolsβ)
plot.show()
This gives a plot with two ols traces for each trace (βTmβ and βTgβ).
Can I either remove one of the ols trendlines, or replace one of the ols trendlines with a trendline=βlowessβ ?