Related: data visualization
Default Colour List
colour_list = ['#1f77b4', '#ff7f0e', '#2ca02c', '#d62728', '#9467bd', '#8c564b’]
Creating Animated Graphs
- Create figure containing empty
data
,layout
,frames
andconfig
data
andframes
are dictionariesdata
is essentially a frame att = 0
frames
have additionalname
property, which held theslider
identify and link with it, making animations interactive
layout
is a list
- Define
layout
to includebuttons
andupdatemenus
- Define a
slider
dictionary- This dictionary stores properties of
slider
slider_steps
calculated above goes intosteps field
here
- This dictionary stores properties of