Skip to content

Map._to_png() without tempfile #887

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

Conversation

Conengmo
Copy link
Member

Closes #882.

Instead of storing the html in a temporary file, the html is kept as a string and fed to selenium that way. This solves the problem on Windows where a temporary file cannot be opened multiple times.

@ocefpaf
Copy link
Member

ocefpaf commented Jun 20, 2018

LGTM. We should probably add AppVeyor testing here to avoid regressions on Windows.
I'll look into that.

PS: feel free to request reviews using the GitHub interface. I'm not monitoring all the PRs here at the moment.

@ocefpaf
Copy link
Member

ocefpaf commented Jun 20, 2018

LGTM. I'll merge on green.

@ocefpaf ocefpaf merged commit 19bde41 into python-visualization:master Jun 20, 2018
@ocefpaf
Copy link
Member

ocefpaf commented Jun 20, 2018

Thanks @Conengmo!

@Conengmo Conengmo deleted the to-png-without-temp-file branch June 20, 2018 19:41
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