Quantcast
Channel: 🎛️ Dash - Plotly Community Forum
Viewing all articles
Browse latest Browse all 6271

Python animated line

$
0
0

@19lex82 wrote:

Hi, i am new to plotly. i try to change the example code to animate a line plot

Code:

gapminder = px.data.gapminder().query(“country==‘Canada’”)
fig = px.line(gapminder, x=“year”, y=“lifeExp”, animation_frame=‘year’, title=‘Life expectancy in Canada’)
fig.show()

but the plot don t show the line. Thanks for a short help!!!

Supplement: i am looking for a cumulative animation…

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 6271

Latest Images

Trending Articles



Latest Images