Browse Source

maint: always use latest plotly.js

wangweimin 4 years ago
parent
commit
a692aeed4f
2 changed files with 2 additions and 2 deletions
  1. 1 1
      pywebio/html/index.html
  2. 1 1
      pywebio/platform/tpl/index.html

+ 1 - 1
pywebio/html/index.html

@@ -68,7 +68,7 @@
 
 
     require.config({
     require.config({
         paths: {
         paths: {
-            'plotly': "https://cdn.jsdelivr.net/npm/plotly.js@1.53.0/dist/plotly.min", // 'https://cdn.plot.ly/plotly-latest.min'
+            'plotly': "https://cdn.jsdelivr.net/npm/plotly.js/dist/plotly.min", // 'https://cdn.plot.ly/plotly-latest.min'
         },
         },
     });
     });
 
 

+ 1 - 1
pywebio/platform/tpl/index.html

@@ -60,7 +60,7 @@
 
 
     require.config({
     require.config({
         paths: {
         paths: {
-            'plotly': "https://cdn.jsdelivr.net/npm/plotly.js@1.53.0/dist/plotly.min", // 'https://cdn.plot.ly/plotly-latest.min'
+            'plotly': "https://cdn.jsdelivr.net/npm/plotly.js/dist/plotly.min", // 'https://cdn.plot.ly/plotly-latest.min'
         },
         },
     });
     });