Skip to content

Update animations.md #2409

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 27, 2020
Merged

Update animations.md #2409

merged 1 commit into from
Apr 27, 2020

Conversation

romesco
Copy link
Contributor

@romesco romesco commented Apr 24, 2020

In the 'gapminder' example, the current code snippets appear to assign a list to fig_dict["layout"]["sliders"] twice. Once when the figure layout is initially created, and then again when more information is added to sliders_dict. This dictionary entry is overwritten before the figure is constructed. My proposed change just removes the initial assignment which seems to be of no consequence. Striving for clarity!

In the 'gapminder' example, the current code snippets appear to assign a list to `fig_dict["layout"]["sliders"]` twice. Once when the figure layout is initially created, and then again when more information is added to `sliders_dict`. This dictionary entry is overwritten before the figure is constructed. My proposed change just removes the initial assignment which seems to be of no consequence. Striving for clarity!
@nicolaskruchten
Copy link
Contributor

Thanks very much for catching this! :)

@nicolaskruchten nicolaskruchten merged commit a85da05 into plotly:doc-prod Apr 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants