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.
update_offline
1 parent a1c0a9c commit a289b99Copy full SHA for a289b99
makefile
@@ -57,3 +57,16 @@ pull_chunked : submodules/chunked_requests
57
@echo ""
58
@echo "Pulling down updates from chunked_requests"
59
cd submodules/chunked_requests; git pull origin master
60
+
61
+update_offline :
62
+ @echo "Updating plotly.js"
63
+ @echo "------------------"
64
+ python -c "import urllib2;\
65
+ cdn_url = 'https://cdn.plot.ly/plotly-latest.min.js';\
66
+ response = urllib2.urlopen(cdn_url);\
67
+ html = response.read();\
68
+ f = open('./plotly/offline/plotly.min.js', 'w');\
69
+ f.write(html);\
70
+ f.close()"
71
+ @echo ""
72
+ @echo "Remember to update the CHANGELOG!"
0 commit comments