Skip to content

Remove iplot warnings in python3 #156

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 5 commits into from
Nov 19, 2014
Merged

Remove iplot warnings in python3 #156

merged 5 commits into from
Nov 19, 2014

Conversation

etpinard
Copy link
Contributor

return res.content
res = requests.get(url).content
if six.PY3:
return res.decode('utf-8', 'replace')
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I ran into warnings without the 'replace' arg (see here).

image

@theengineear
Copy link
Contributor

@etpinard , nice find! 👯

etpinard added a commit that referenced this pull request Nov 19, 2014
Remove iplot warnings in python3
@etpinard etpinard merged commit d6e1724 into master Nov 19, 2014
@etpinard etpinard deleted the iplot3-warnings branch November 19, 2014 18:27
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.

Running iplot in IPython generates warnings from PlotlyDisplay
2 participants