You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: BUILDING.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
# Alternative ways to require or build plotly.js
2
-
Depending on your needs you may require/import one of [the distributed plotly.js packages](https://github.com/plotly/plotly.js/blob/master/dist/README.md) or [a plotly.js/lib index file](https://github.com/plotly/plotly.js/tree/master/lib) and integrate it into your application.
2
+
Depending on your needs you may require/import one of [the distributed plotly.js packages](https://github.com/plotly/plotly.js/blob/HEAD/dist/README.md) or [a plotly.js/lib index file](https://github.com/plotly/plotly.js/tree/HEAD/lib) and integrate it into your application.
3
3
4
4
The sections below provide additional info in respect to alternative building frameworks.
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -97,7 +97,7 @@ cd plotly.js
97
97
#### Step 2: Switch to a dev branch
98
98
99
99
```bash
100
-
# please do not use master or main for your dev branch
100
+
# please do not use main for your dev branch
101
101
git checkout dev-branch-name
102
102
```
103
103
@@ -138,7 +138,7 @@ comes bundled with some useful tools while developing - all bundled under the
138
138
|`Tabs.onReload()`| By default, set to `noop` but you may set `Tabs.onReload` to any function you wish. This is useful for replotting a mock or test every time you reload the plotly.js script. |
139
139
|`Tabs.purge()`| Destroys all plots. |
140
140
141
-
View [the source](https://github.com/plotly/plotly.js/blob/master/devtools/test_dashboard/devtools.js) for more info.
141
+
View [the source](https://github.com/plotly/plotly.js/blob/HEAD/devtools/test_dashboard/devtools.js) for more info.
142
142
143
143
Three additional helpers exist that are refreshed every second:
144
144
@@ -205,7 +205,7 @@ previous changes. `npm run regl-codegen` will prompt you to open
205
205
a browser window, run through the mocks for each regl-using trace
206
206
(`parcoords`, `scattergl`, `scatterpolargl`, `splom`), and store the captured
Copy file name to clipboardExpand all lines: CUSTOM_BUNDLE.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
# Custom bundle
2
-
You can easily make custom bundles yourself if none of the [distributed packages](https://github.com/plotly/plotly.js/blob/master/dist/README.md) meet your needs, or if you want to make a more optimized bundle file with/without specific traces.
2
+
You can easily make custom bundles yourself if none of the [distributed packages](https://github.com/plotly/plotly.js/blob/HEAD/dist/README.md) meet your needs, or if you want to make a more optimized bundle file with/without specific traces.
3
3
4
4
Make sure you have the versions of node/npm that's recommended:
[Plotly.js](https://plotly.com/javascript) is a standalone JavaScript data visualization library, and it also powers the Python and R modules named `plotly` in those respective ecosystems (referred to as [Plotly.py](https://plotly.com/python) and [Plotly.R](http://plotly.com/r)).
8
8
@@ -38,7 +38,7 @@ Plotly.js can be used to produce dozens of chart types and visualizations, inclu
@@ -121,12 +121,12 @@ You may simply load the [virtual-webgl](https://github.com/greggman/virtual-webg
121
121
122
122
## Bundles
123
123
There are two kinds of plotly.js bundles:
124
-
1. Complete and partial official bundles that are distributed to `npm` and the `CDN`, described in [the dist README](https://github.com/plotly/plotly.js/blob/master/dist/README.md).
125
-
2. Custom bundles you can create yourself to optimize the size of the bundle depending on your needs. Please visit [CUSTOM_BUNDLE](https://github.com/plotly/plotly.js/blob/master/CUSTOM_BUNDLE.md) for more information.
124
+
1. Complete and partial official bundles that are distributed to `npm` and the `CDN`, described in [the dist README](https://github.com/plotly/plotly.js/blob/HEAD/dist/README.md).
125
+
2. Custom bundles you can create yourself to optimize the size of the bundle depending on your needs. Please visit [CUSTOM_BUNDLE](https://github.com/plotly/plotly.js/blob/HEAD/CUSTOM_BUNDLE.md) for more information.
126
126
127
127
---
128
128
## Alternative ways to load and build plotly.js
129
-
If your library needs to bundle or directly load [plotly.js/lib/index.js](https://github.com/plotly/plotly.js/blob/master/lib/index.js) or parts of its modules similar to [index-basic](https://github.com/plotly/plotly.js/blob/master/lib/index-basic.js) in some other way than via an official or a custom bundle, or in case you want to tweak the default build configurations, then please visit [`BUILDING.md`](https://github.com/plotly/plotly.js/blob/master/BUILDING.md).
129
+
If your library needs to bundle or directly load [plotly.js/lib/index.js](https://github.com/plotly/plotly.js/blob/HEAD/lib/index.js) or parts of its modules similar to [index-basic](https://github.com/plotly/plotly.js/blob/HEAD/lib/index-basic.js) in some other way than via an official or a custom bundle, or in case you want to tweak the default build configurations, then please visit [`BUILDING.md`](https://github.com/plotly/plotly.js/blob/HEAD/BUILDING.md).
130
130
131
131
---
132
132
## Documentation
@@ -139,12 +139,12 @@ For more info about contributing to Plotly documentation, please read through [c
139
139
---
140
140
## Bugs and feature requests
141
141
142
-
Have a bug or a feature request? Please [open a Github issue](https://github.com/plotly/plotly.js/issues/new) keeping in mind the [issue guidelines](https://github.com/plotly/plotly.js/blob/master/.github/ISSUE_TEMPLATE.md). You may also want to read about [how changes get made to Plotly.js](https://github.com/plotly/plotly.js/blob/master/CONTRIBUTING.md).
142
+
Have a bug or a feature request? Please [open a Github issue](https://github.com/plotly/plotly.js/issues/new) keeping in mind the [issue guidelines](https://github.com/plotly/plotly.js/blob/HEAD/.github/ISSUE_TEMPLATE.md). You may also want to read about [how changes get made to Plotly.js](https://github.com/plotly/plotly.js/blob/HEAD/CONTRIBUTING.md).
143
143
144
144
---
145
145
## Contributing
146
146
147
-
Please read through our [contributing guidelines](https://github.com/plotly/plotly.js/blob/master/CONTRIBUTING.md). Included are directions for opening issues, using plotly.js in your project and notes on development.
147
+
Please read through our [contributing guidelines](https://github.com/plotly/plotly.js/blob/HEAD/CONTRIBUTING.md). Included are directions for opening issues, using plotly.js in your project and notes on development.
148
148
149
149
---
150
150
## Notable contributors
@@ -182,7 +182,7 @@ Plotly.js is at the core of a large and dynamic ecosystem with many contributors
182
182
183
183
Code and documentation copyright 2025 Plotly, Inc.
184
184
185
-
Code released under the [MIT license](https://github.com/plotly/plotly.js/blob/master/LICENSE).
185
+
Code released under the [MIT license](https://github.com/plotly/plotly.js/blob/HEAD/LICENSE).
0 commit comments