Skip to content

Commit 8cd5309

Browse files
jqnatividadclaude
authored andcommitted
chore(examples): pin plotly.js CDN links to 3.7.0
Align the example CDN references with the newly bundled 3.7.0. The wasm-yew examples were pinned at 2.14.0, and multiple_plots_example used plotly-latest.min.js, which the CDN freezes at v1.58.5 (2021) — a 1.x runtime against a library that now emits 3.x JSON. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Signed-off-by: Andrei Gherghescu <8067229+andrei-ng@users.noreply.github.com>
1 parent 02f5530 commit 8cd5309

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

examples/customization/multiple_plots_example/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ use plotly::{
1212
fn main() {
1313
let html: String = HtmlPage::new()
1414
.with_title("Plotly-rs Multiple Plots")
15-
.with_script_link("https://cdn.plot.ly/plotly-latest.min.js")
15+
.with_script_link("https://cdn.plot.ly/plotly-3.7.0.min.js")
1616
.with_header(1, "Multiple Plotly plots on the same HTML page")
1717
.with_raw(first_plot())
1818
.with_raw(second_plot())

examples/wasm-yew/basic/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<head>
55
<meta charset="utf-8" />
66
<title>Plotly Yew</title>
7-
<script src="https://cdn.plot.ly/plotly-2.14.0.min.js"></script>
7+
<script src="https://cdn.plot.ly/plotly-3.7.0.min.js"></script>
88
</head>
99

1010
<body></body>

examples/wasm-yew/callback-example/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<head>
55
<meta charset="utf-8" />
66
<title>Plotly Yew</title>
7-
<script src="https://cdn.plot.ly/plotly-2.14.0.min.js"></script>
7+
<script src="https://cdn.plot.ly/plotly-3.7.0.min.js"></script>
88
</head>
99

1010
<body></body>

0 commit comments

Comments
 (0)