Skip to content

Fix typo in style_function#487

Merged
ocefpaf merged 1 commit intopython-visualization:masterfrom
jdoerrie:patch-1
Aug 18, 2016
Merged

Fix typo in style_function#487
ocefpaf merged 1 commit intopython-visualization:masterfrom
jdoerrie:patch-1

Conversation

@jdoerrie
Copy link
Copy Markdown
Contributor

This typo renders the line_opacity attribute of Map.choropleth useless. The error is propagated to the generated JavaScript, where Leaflet ignores it.

This one line fix corrects the error. Consider the attached screenshots for a demonstration of the fix applied to US Unemployment example.

Prior to Fix:

us_states

After Fix:

us_states_fix

Replaces the wrong "opactiy" with the correct "opacity".
@ocefpaf
Copy link
Copy Markdown
Member

ocefpaf commented Aug 18, 2016

Thanks @jdoerrie! The failure here is unrelated to your PR. So merging this.

@ocefpaf ocefpaf merged commit 01584df into python-visualization:master Aug 18, 2016
@jdoerrie jdoerrie deleted the patch-1 branch August 18, 2016 12:12
sanga pushed a commit to sanga/folium that referenced this pull request Oct 24, 2017
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