Streamlit-ipyvizzu
Streamlit-ipyvizzu copied to clipboard
duration argument not included in animate function
**kwargs can do the trick for duration inclusion
chart.animate(
Config(
{
"channels": {
"y": Y,
"x": X,
}
}
),
Style(
{
"plot":{"paddingLeft": "12em"}
}
),
y = {
"duration": 3,
}
)
Workaround
As suggested :
Simon (Vizzu) 25 minutes ago The calculation of the default value is complex, the duration depends on what parts (position, color, coordinate system, etc) vizzu should animate between two charts.
..... just omit the parameter if it has been set to None by the user
To-do
initial argument as None or Auto , if used, then use it as int.