Skip to content

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