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 246431d commit f463fd6Copy full SHA for f463fd6
plotly/__init__.py
@@ -33,11 +33,13 @@
33
from plotly.version import __version__
34
from plotly.check_version import get_latest
35
36
-_latest = get_latest()
37
-
38
-if __version__ != _latest:
39
- print("Your version of Plotly is currently outdated,\n" +
40
- "You're currently running {}".format(__version__) +
41
- ", while the latest version is {}".format(_latest))
42
-else:
43
- print("Plotly {} is currently up to date".format(__version__))
+try:
+ _latest = get_latest()
+ if __version__ != _latest:
+ print("Your version of Plotly is currently outdated,\n" +
+ "You're currently running {}".format(__version__) +
+ ", while the latest version is {}".format(_latest))
+ else:
+ print("Plotly {} is currently up to date".format(__version__))
44
+except:
45
+ pass
0 commit comments