Skip to content

add local file prefix for browser#1704

Merged
Conengmo merged 1 commit intopython-visualization:mainfrom
RileyLeff:show_in_browser_prefix
Jan 20, 2023
Merged

add local file prefix for browser#1704
Conengmo merged 1 commit intopython-visualization:mainfrom
RileyLeff:show_in_browser_prefix

Conversation

@RileyLeff
Copy link
Contributor

The show_in_browser() method wasn't working at all for me -- no browser popped up, but no error thrown. I'm on a M1 13" Macbook Pro running Ventura 13.1 and Python 3.11.1.

Adding a "file://" prefix to the fname makes the browser work as expected. This change doesn't break any tests on my end. Tested on MacOS and Debian, don't have access to a windows machine at the moment.

First PR here so if I've done something horrifyingly wrong, let me know!

@Conengmo Conengmo self-requested a review January 18, 2023 09:00
@Conengmo Conengmo merged commit 46bfa0b into python-visualization:main Jan 20, 2023
@Conengmo
Copy link
Member

Thank you Riley! Much appreciated.

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