Skip to content

Commit 6ebebaf

Browse files
committed
edit readme files to point to v2 and latest instead of rc
1 parent 551e8ed commit 6ebebaf

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

CUSTOM_BUNDLE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ You can simply make custom bundles yourself, if none of the [distributed package
33

44
Install plotly.js, move to plotly.js folder then install plotly.js dependencies:
55
```sh
6-
npm i plotly.js@2.0.0-rc.3
6+
npm i plotly.js
77
cd node_modules/plotly.js
88
npm i
99
```

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ You may also consider using [`plotly.js-dist`](https://www.npmjs.com/package/plo
5555
5656
```html
5757
<head>
58-
<script src="https://cdn.plot.ly/plotly-2.0.0-rc.3.min.js"></script>
58+
<script src="https://cdn.plot.ly/plotly-2.0.0.min.js"></script>
5959
</head>
6060
<body>
6161
<div id="gd"></div>
@@ -72,7 +72,7 @@ You may also consider using [`plotly.js-dist`](https://www.npmjs.com/package/plo
7272
Alternatively you may consider using [native ES6 import](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules) in the script tag.
7373
```html
7474
<script>
75-
import "https://cdn.plot.ly/plotly-2.0.0-rc.3.min.js"
75+
import "https://cdn.plot.ly/plotly-2.0.0.min.js"
7676
Plotly.newPlot("gd", [{ y: [1, 2, 3] }]);
7777
</script>
7878
```
@@ -82,7 +82,7 @@ Fastly supports Plotly.js with free CDN service. Read more at <https://www.fastl
8282
### Un-minified versions are also available on CDN
8383
While non-minified source files may contain characters outside UTF-8, it is recommended that you specify the `charset` when loading those bundles.
8484
```html
85-
<script src="https://cdn.plot.ly/plotly-2.0.0-rc.3.js" charset="utf-8"></script>
85+
<script src="https://cdn.plot.ly/plotly-2.0.0.js" charset="utf-8"></script>
8686
```
8787

8888
> Please note that as of v2 the "plotly-latest" outputs (e.g. https://cdn.plot.ly/plotly-latest.min.js) will no longer be updated on the CDN, and will stay at the last v1 patch v1.58.4. Therefore, to use the CDN with plotly.js v2 and higher, you must specify an exact plotly.js version.

0 commit comments

Comments
 (0)