-
Notifications
You must be signed in to change notification settings - Fork 118
plot.show() does not work on Linux snap Firefox #170
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
Labels
good first issue
Good for newcomers
Comments
@MarkSwanson, yes, you are correct. With snap, even most (all) of the examples won't work. I will look into it. |
andrei-ng
added a commit
that referenced
this issue
Jul 30, 2024
- the show() method by default creates a random named file in `/tmp` dir, however in some cases `/tmp` is not available, e.g., snap's Firefox runs in an isolated enviroment and cannot access the system's `/tmp` - provide a method that calls write_html followed by show for easier access Closes #170 Signed-off-by: Andrei Gherghescu <8067229+andrei-ng@users.noreply.github.com>
@MarkSwanson , I added a straightforwad implementation in #217. Is this what you had in mind as well? |
This implementation will be available after the PR is merged. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
snap Firefox has its own /tmp directory now. snap Firefox no longer sees the real /tmp directory - so it can't find the plotly generated HTML file.
Firefox 119.0
Ubuntu 22.04
Possible solution: plotly already provides plot.write_html(filename) - so just provide a plot.show(filename) ?
Thanks!
The text was updated successfully, but these errors were encountered: