Login Register






Interactive Data Visualization with Plotly filter_list
Author
Message
Interactive Data Visualization with Plotly #1
import plotly.express as px

# Create a scatter plot with a trendline
data = px.data.iris()
fig = px.scatter(data, x='sepal_width', y='sepal_length', color='species', trendline='ols')
fig.show()

Reply