Login Register






Thread Rating:
  • 0 Vote(s) - 0 Average


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







Users browsing this thread: 1 Guest(s)