Skip to content

Fix python3 issue in Map._repr_html_() #218

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
Oct 29, 2015

Conversation

BibMartin
Copy link
Contributor

A tiny PR to fix a bug I had not seen when working with python 3 :

When you do

foo = b'foo'
"{}".format(foo)

you get "b'foo'" instead of "foo". So you have to decode explicitely from bytes to str

ocefpaf added a commit that referenced this pull request Oct 29, 2015
Fix python3 issue in Map._repr_html_()
@ocefpaf ocefpaf merged commit 4bc20ae into python-visualization:master Oct 29, 2015
@ocefpaf
Copy link
Member

ocefpaf commented Oct 29, 2015

Looks good. Finally a simple PR for me to merge 😉

@BibMartin
Copy link
Contributor Author

@ocefpaf

Folium right now is low in manpower.

But we have really good/reactive mergers

@ocefpaf
Copy link
Member

ocefpaf commented Oct 29, 2015

😄

@BibMartin BibMartin deleted the python3_repr_html branch December 7, 2015 11:03
@ocefpaf ocefpaf added the bug An issue describing unexpected or malicious behaviour label Feb 12, 2016
@ocefpaf ocefpaf added this to the v0.2.0 milestone Feb 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An issue describing unexpected or malicious behaviour
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants