Skip to content

Commit dde8f3f

Browse files
author
Ioannis Giagkiozis
committed
Update plotly to 2.8.3
1 parent 3245100 commit dde8f3f

File tree

5 files changed

+69
-62
lines changed

5 files changed

+69
-62
lines changed

plotly/src/plot.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ use std::process::Command;
1212
use crate::Layout;
1313
use rand_distr::Alphanumeric;
1414

15-
const PLOTLY_JS: &str = "plotly-2.2.1.min.js";
15+
const PLOTLY_JS: &str = "plotly-2.8.3.min.js";
1616

1717
#[derive(Template)]
18-
#[template(path = "plotly-2.2.1.min.js", escape = "none")]
18+
#[template(path = "plotly-2.8.3.min.js", escape = "none")]
1919
struct PlotlyJs;
2020

2121
#[derive(Template)]

plotly/templates/jupyter_notebook_plot.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<div>
22
<div id="{{ plot_div_id }}" class="plotly-graph-div" style="height:100%; width:100%;"></div>
33
<script type="text/javascript">
4-
require(['https://cdn.plot.ly/plotly-2.2.1.min.js'], function(Plotly) {
4+
require(['https://cdn.plot.ly/plotly-2.8.3.min.js'], function(Plotly) {
55
window.PLOTLYENV=window.PLOTLYENV || {};
66

77
if (document.getElementById("{{ plot_div_id }}")) {

plotly/templates/plot.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<script type="text/javascript">if (window.MathJax) {MathJax.Hub.Config({SVG: {font: "STIX-Web"}});}</script>
99
<script type="text/javascript">window.PlotlyConfig = {MathJaxConfig: 'local'};</script>
1010
{% if remote_plotly_js -%}
11-
<script src="https://cdn.plot.ly/plotly-2.2.1.min.js"></script>
11+
<script src="https://cdn.plot.ly/plotly-2.8.3.min.js"></script>
1212
{% else -%}
1313
<script type="text/javascript">{{ plotly_javascript }}</script>
1414
{% endif -%}

plotly/templates/plotly-2.2.1.min.js

Lines changed: 0 additions & 58 deletions
This file was deleted.

plotly/templates/plotly-2.8.3.min.js

Lines changed: 65 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)