Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

plotly express lineplot

import plotly.express as px

df = px.data.gapminder().query("country=='Canada'")
fig = px.line(df, x="year", y="lifeExp", title='Life expectancy in Canada')
fig.show()
Source by plotly.com #
 
PREVIOUS NEXT
Tagged: #plotly #express #lineplot
ADD COMMENT
Topic
Name
7+8 =