We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a9bed8 commit 46bfa0bCopy full SHA for 46bfa0b
folium/folium.py
@@ -406,7 +406,7 @@ def render(self, **kwargs) -> None:
406
def show_in_browser(self) -> None:
407
"""Display the Map in the default web browser."""
408
with temp_html_filepath(self.get_root().render()) as fname:
409
- webbrowser.open(fname)
+ webbrowser.open("file://" + fname)
410
print(
411
"Your map should have been opened in your browser automatically."
412
"\nPress ctrl+c to return."
0 commit comments