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 0da43d2 commit 9eefc35Copy full SHA for 9eefc35
packages/python/plotly/plotly/offline/offline.py
@@ -17,7 +17,7 @@
17
18
19
__IMAGE_FORMATS = ["jpeg", "png", "webp", "svg"]
20
-
+__NAME_JS="plotly2.min.js"
21
22
def download_plotlyjs(download_url):
23
warnings.warn(
@@ -86,7 +86,7 @@ def get_plotlyjs():
86
>>> with open('multi_plot.html', 'w') as f:
87
... f.write(html)
88
"""
89
- path = os.path.join("package_data", "plotly.min.js")
+ path = os.path.join("package_data", __NAME_JS)
90
plotlyjs = pkgutil.get_data("plotly", path).decode("utf-8")
91
return plotlyjs
92
0 commit comments