File: 0007-Use-system-plotly.patch

package info (click to toggle)
dials 3.25.0%2Bdfsg3-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 20,112 kB
  • sloc: python: 134,740; cpp: 34,526; makefile: 160; sh: 142
file content (21 lines) | stat: -rw-r--r-- 892 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Roland Mas <lolando@debian.org>
Date: Tue, 13 Dec 2022 16:03:34 +0100
Subject: Use system plotly

---
 src/dials/templates/report_base.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/dials/templates/report_base.html b/src/dials/templates/report_base.html
index dc49b61..b4c25a6 100644
--- a/src/dials/templates/report_base.html
+++ b/src/dials/templates/report_base.html
@@ -40,7 +40,7 @@
 
   {% block external_dependencies %}
   <script src="/javascript/jquery/jquery.min.js"></script>
-  <script src="https://cdn.plot.ly/plotly-latest.min.js"></script>
+  <script src="/javascript/plotly/plotly.js"></script>
   <script src="/javascript/bootstrap/js/bootstrap.min.js"></script>
   <script type="text/javascript" src="/javascript/katex/katex.min.js"></script>
   <script type="text/javascript" src="/javascript/katex/contrib/auto-render.min.js"></script>