Skip to content
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

fig.show() Times Out #3102

Closed
dtoniolo opened this issue Mar 5, 2021 · 4 comments
Closed

fig.show() Times Out #3102

dtoniolo opened this issue Mar 5, 2021 · 4 comments

Comments

@dtoniolo
Copy link

dtoniolo commented Mar 5, 2021

Versions
Platform: macOS Catalina 10.15.7
Python: 3.8.5
Plotly: 4.14.3

Description of the Issue
When attempting to show any figure, the method fig.show() hangs about half of the time:

  • sometimes the figure is shown correctly
  • sometimes the plot is never drawn and the browser stops attempting to connect to the web page, with no resulting error from Plotly
  • sometimes the plot is never drawn and the fig.show() method throws a ConnectionTImedOut error

Here's a minimum reproducible example:

import numpy as np
import plotly.graph_objects as go

 a = np.arange(10)
fig = go.Figure(go.Scatter(x=a, y=a))
fig.show()

Additional Details
The problems also occurs with Plotly 4.10. Both Safari and Firefox can't connect to Plotly's visualisation server, so I guess the problem is on the Plotly itself.

@MlHsieh
Copy link

MlHsieh commented Mar 18, 2021

Same problem here.

Firefox 86.0.1 on windows 10.

Browser hang at some webpages of plotly's online documents as well. Like 3D Surface Plot.
image

Edit No problem with Edge. I don't have this problem before updating firefox to 86.0.1. More like a browser related problem.

@MlHsieh
Copy link

MlHsieh commented Mar 18, 2021

The problem is related to extension DuckDuckGo Privacy Essentials.
Solve the problem after disabling the extension.

@dtoniolo
Copy link
Author

I seem to have the same problem regardless of the browser. I don't have DuckDuckGo Privacy Essentials installed, but Safari 14 new privacy features might be involved here. On Firefox the problem might be caused by the adblocker, next time that the problem comes up I'll try disabling it

@gvwilson
Copy link
Contributor

Hi - we are trying to tidy up the stale issues and PRs in Plotly's public repositories so that we can focus on things that are still important to our community. Since this one has been sitting for several years, I'm going to close it; if it is still a concern, please add a comment letting us know what recent version of our software you've checked it with so that I can reopen it and add it to our backlog. Thanks for your help - @gvwilson

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

No branches or pull requests

3 participants