Skip to content

Commit 433b1b4

Browse files
committed
Bump plotly.js version to 2.6.3
1 parent a0e01da commit 433b1b4

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[![Build and test](https://github.com/plotly/Plotly.NET/actions/workflows/build-and-test.yml/badge.svg)](https://github.com/plotly/Plotly.NET/actions/workflows/build-and-test.yml)
55
[![](https://img.shields.io/nuget/vpre/Plotly.NET)](https://www.nuget.org/packages/Plotly.NET/)
66
[![Discord](https://img.shields.io/discord/836161044501889064?color=purple&label=Join%20our%20Discord%21&logo=discord&logoColor=white)](https://discord.gg/k3kUtFY8DB)
7-
![](https://img.shields.io/badge/supported%20plotly.js%20version-2.4.2-blue)
7+
![](https://img.shields.io/badge/supported%20plotly.js%20version-2.6.3-blue)
88

99
Plotly.NET provides functions for generating and rendering plotly.js charts in **.NET** programming languages 📈🚀.
1010

src/Plotly.NET/ChartAPI/GenericChart.fs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ module HTML =
1515
<head>
1616
<!-- Plotly.js -->
1717
<meta http-equiv="X-UA-Compatible" content="IE=11" >
18-
<script src="https://cdn.plot.ly/plotly-2.4.2.min.js"></script>
18+
<script src="https://cdn.plot.ly/plotly-2.6.3.min.js"></script>
1919
[ADDITIONAL_HEAD_TAGS]
2020
<style>
2121
.container {
@@ -62,7 +62,7 @@ module HTML =
6262
newScript.AppendLine("<script type=\"text/javascript\">") |> ignore
6363
newScript.AppendLine(@"
6464
var renderPlotly_[SCRIPTID] = function() {
65-
var fsharpPlotlyRequire = requirejs.config({context:'fsharp-plotly',paths:{plotly:'https://cdn.plot.ly/plotly-2.4.2.min'}}) || require;
65+
var fsharpPlotlyRequire = requirejs.config({context:'fsharp-plotly',paths:{plotly:'https://cdn.plot.ly/plotly-2.6.3.min'}}) || require;
6666
fsharpPlotlyRequire(['plotly'], function(Plotly) {") |> ignore
6767
newScript.AppendLine(@"
6868
var data = [DATA];

tests/Plotly.NET.Tests/HtmlCodegen/SimpleTests.fs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ let simpleChart =
2020
let ``Html layout tests`` =
2121
testList "SimpleTests.Simple tests" [
2222
testCase "Expecting plotly js" ( fun () ->
23-
"https://cdn.plot.ly/plotly-2.4.2.min"
23+
"https://cdn.plot.ly/plotly-2.6.3.min"
2424
|> chartGeneratedContains simpleChart
2525
);
2626
testCase "Expecting data" ( fun () ->
@@ -36,7 +36,7 @@ let ``Html layout tests`` =
3636
|> chartGeneratedContains simpleChart
3737
);
3838
testCase "Expecting require config" (fun () ->
39-
"var fsharpPlotlyRequire = requirejs.config({context:'fsharp-plotly',paths:{plotly:'https://cdn.plot.ly/plotly-2.4.2.min'}}) || require;"
39+
"var fsharpPlotlyRequire = requirejs.config({context:'fsharp-plotly',paths:{plotly:'https://cdn.plot.ly/plotly-2.6.3.min'}}) || require;"
4040
|> chartGeneratedContains simpleChart
4141
);
4242
testCase "Expecting html tags in embedded page only" (fun () ->

0 commit comments

Comments
 (0)