Skip to content

Commit 7ef5c23

Browse files
committed
update various links
- from plot.ly to plotly.com or chart-studio.plolty.com - from http to https
1 parent 5b6abbb commit 7ef5c23

20 files changed

+55
-55
lines changed

README.md

+18-18
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
<a href="https://plot.ly/javascript/"><img src="http://images.plot.ly/logo/[email protected]" height="70"></a>
1+
<a href="https://plotly.com/javascript/"><img src="https://images.plot.ly/logo/[email protected]" height="70"></a>
22

33
[![npm version](https://badge.fury.io/js/plotly.js.svg)](https://badge.fury.io/js/plotly.js)
44
[![circle ci](https://circleci.com/gh/plotly/plotly.js.png?&style=shield&circle-token=1f42a03b242bd969756fc3e53ede204af9b507c0)](https://circleci.com/gh/plotly/plotly.js)
55
[![MIT License](https://img.shields.io/badge/License-MIT-brightgreen.svg)](https://github.com/plotly/plotly.js/blob/master/LICENSE)
66

7-
Built on top of [d3.js](http://d3js.org/) and [stack.gl](http://stack.gl/),
7+
Built on top of [d3.js](https://d3js.org/) and [stack.gl](http://stack.gl/),
88
plotly.js is a high-level, declarative charting library. plotly.js ships with over 40
99
chart types, including scientific charts, 3D graphs, statistical charts, SVG maps, financial charts,
1010
and more.
1111

1212
<p align="center">
13-
<a href="https://www.plot.ly/javascript" target="_blank">
13+
<a href="https://plotly.com/javascript/" target="_blank">
1414
<img src="https://raw.githubusercontent.com/cldougl/plot_images/add_r_img/plotly_2017.png">
1515
</a></p>
1616

17-
[Contact us](https://plot.ly/products/consulting-and-oem/) for Plotly.js consulting, dashboard development, application integration, and feature additions.
17+
[Contact us](https://plotly.com/products/consulting-and-oem/) for Plotly.js consulting, dashboard development, application integration, and feature additions.
1818

1919
## Table of contents
2020

@@ -63,7 +63,7 @@ Fastly supports Plotly.js with free CDN service. Read more at https://www.fastly
6363

6464
and use the plotly.js `dist` file(s). More info [here](https://github.com/plotly/plotly.js/blob/master/dist/README.md).
6565

66-
#### Read the [Getting started page](https://plot.ly/javascript/getting-started/) for more examples.
66+
#### Read the [Getting started page](https://plotly.com/javascript/getting-started/) for more examples.
6767

6868

6969
## Modules
@@ -93,7 +93,7 @@ Then elsewhere in your code:
9393
var Plotly = require('./path/to/custom-plotly');
9494
```
9595

96-
To learn more about the plotly.js module architecture, refer to our [modularizing monolithic JS projects](https://plot.ly/javascript/modularizing-monolithic-javascript-projects/) post.
96+
To learn more about the plotly.js module architecture, refer to our [modularizing monolithic JS projects](https://plotly.com/javascript/plotly-fundamentals/) post.
9797

9898
#### Non-ascii characters
9999

@@ -113,12 +113,12 @@ Have a bug or a feature request? Please first read the [issues guidelines](https
113113

114114
## Documentation
115115

116-
Official plotly.js documentation is hosted on [plot.ly/javascript](https://plot.ly/javascript).
116+
Official plotly.js documentation is hosted on [plotly.com/javascript](https://plotly.com/javascript).
117117

118-
These pages are generated by the Plotly [documentation repo](https://github.com/plotly/documentation/tree/gh-pages) built with [Jekyll](http://jekyllrb.com) and publicly hosted on GitHub Pages.
118+
These pages are generated by the Plotly [documentation repo](https://github.com/plotly/documentation/tree/gh-pages) built with [Jekyll](https://jekyllrb.com/) and publicly hosted on GitHub Pages.
119119
For more info about contributing to Plotly documentation, please read through [contributing guidelines](https://github.com/plotly/documentation/blob/source/Contributing.md).
120120

121-
You can also suggest new documentation examples by submitting a [Codepen](http://codepen.io/tag/plotly/) on community.plot.ly with tag [`plotly-js`](http://community.plot.ly/c/plotly-js).
121+
You can also suggest new documentation examples by submitting a [Codepen](https://codepen.io/tag/plotly/) on community.plot.com with tag [`plotly-js`](https://community.plotly.com/c/api/plotly-js).
122122

123123
## Contributing
124124

@@ -128,14 +128,14 @@ Please read through our [contributing guidelines](https://github.com/plotly/plot
128128

129129
* Follow [@plotlygraphs](https://twitter.com/plotlygraphs) on Twitter for the latest Plotly news.
130130
* Follow [@plotly_js](https://twitter.com/plotly_js) on Twitter for plotly.js release updates.
131-
* Implementation help may be found on community.plot.ly (tagged [`plotly-js`](http://community.plot.ly/c/plotly-js)) or
131+
* Implementation help may be found on community.plot.com (tagged [`plotly-js`](https://community.plotly.com/c/plotly-js)) or
132132
on Stack Overflow (tagged [`plotly`](https://stackoverflow.com/questions/tagged/plotly)).
133133
* Developers should use the keyword `plotly` on packages which modify or add to the functionality of plotly.js when distributing through [npm](https://www.npmjs.com/browse/keyword/plotly).
134-
* Direct developer email support can be purchased through a [Plotly Support Plan](https://support.plot.ly/libraries/javascript).
134+
* Direct developer email support can be purchased through a [Plotly Support Plan](https://plotly.com/chart-studio-help/chart-studio-cloud-support/).
135135

136136
## Versioning
137137

138-
This project is maintained under the [Semantic Versioning guidelines](http://semver.org/).
138+
This project is maintained under the [Semantic Versioning guidelines](https://semver.org/).
139139

140140
See the [Releases section](https://github.com/plotly/plotly.js/releases) of our GitHub project for changelogs for each release version of plotly.js.
141141

@@ -145,14 +145,14 @@ Open-source clients to the plotly.js APIs are available at these links:
145145

146146
| | GitHub repo | Getting started |
147147
|---|--------|---------|
148-
|**R / RStudio**| [ropensci/plotly](https://github.com/ropensci/plotly) | [plot.ly/r/getting-started](https://plot.ly/r/getting-started) |
149-
|**Python / Pandas / IPython notebook**| [plotly/plotly.py](https://github.com/plotly/plotly.py) | [plot.ly/python/getting-started](https://plot.ly/python/getting-started) |
150-
|**MATLAB**| [plotly/matlab-api](https://github.com/plotly/matlab-api) | [plot.ly/matlab/getting-started](https://plot.ly/matlab/getting-started) |
148+
|**R / RStudio**| [ropensci/plotly](https://github.com/ropensci/plotly) | [plotly/r/getting-started](https://plotly.com/r/getting-started) |
149+
|**Python / Pandas / IPython notebook**| [plotly/plotly.py](https://github.com/plotly/plotly.py) | [plotly/python/getting-started](https://plotly.com/python/getting-started) |
150+
|**MATLAB**| [plotly/matlab-api](https://github.com/plotly/matlab-api) | [plotly/matlab/getting-started](https://plotly.com/matlab/getting-started) |
151151
|**node.js / Tonicdev / Jupyter notebook**| [plotly/plotly-notebook-js](https://github.com/plotly/plotly-notebook-js) | |
152-
|**node.js cloud client**| [plotly/plotly-nodejs](https://github.com/plotly/plotly-nodejs) | [plot.ly/nodejs/getting-started](https://plot.ly/nodejs/getting-started) |
153-
|**Julia**| [plotly/Plotly.jl](https://github.com/plotly/Plotly.jl) | [plot.ly/julia/getting-started](https://plot.ly/julia/getting-started) |
152+
|**node.js cloud client**| [plotly/plotly-nodejs](https://github.com/plotly/plotly-nodejs) | [plotly/nodejs/getting-started](https://plotly.com/nodejs/getting-started) |
153+
|**Julia**| [plotly/Plotly.jl](https://github.com/plotly/Plotly.jl) | [plotly/julia/getting-started](https://plotly.com/julia/getting-started) |
154154

155-
plotly.js charts can also be created and saved online for free at [plot.ly/create](https://plot.ly/create).
155+
plotly.js charts can also be created and saved online for free at [plotly/create](https://chart-studio.plotly.com/create).
156156

157157
## Creators
158158

SECURITY.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,17 @@ untrusted data being graphed by plotly.js. However, XSS or other issues may sti
99
Note that the typical use case for plotly.js is for visualizing data from trusted sources. For example if you use plotly.js to add a dashboard to your site and you control all the input data that's sent to plotly.js, you are not dependent on plotly.js for XSS protection.
1010

1111
If you require a higher degree of assurance, please consider purchasing our
12-
[Plotly On-Premise](https://plot.ly/product/enterprise/) product, or [contact the Plotly sales team](mailto:sales@plot.ly)
12+
[Plotly On-Premise](https://plotly.com/get-pricing/) product, or [contact the Plotly sales team](mailto:sales@plotly.com)
1313
for more options.
1414

1515
## Reports
1616

17-
To report a security vulnerability, please email security@plot.ly with steps to reproduce the problem. Please allow up to
17+
To report a security vulnerability, please email security@plotly.com with steps to reproduce the problem. Please allow up to
1818
24 hours for an initial response.
1919

2020
## Bounties
2121

22-
In some cases, we offer monetary compensation (bounties) for reports of security vulnerabilities. Please see the [Plotly Security Vulnerability Bounty Program](http://help.plot.ly/security/) page for more information.
22+
In some cases, we offer monetary compensation (bounties) for reports of security vulnerabilities. Please see the [Plotly Security Vulnerability Bounty Program](https://plotly.com/chart-studio-help/security/) page for more information.
2323

2424
## Release Process
2525

@@ -31,4 +31,4 @@ Since the typical plotly.js use case involves trusted data, we do not remove old
3131

3232
## Advisories
3333

34-
All plotly.js security advisories released after August 1, 2016 are available at the [Plotly Security Advisories](http://help.plot.ly/security-advisories/) page.
34+
All plotly.js security advisories released after August 1, 2016 are available at the [Plotly Security Advisories](https://plotly.com/chart-studio-help/security-advisories/) page.

bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"visualization",
1414
"plotly"
1515
],
16-
"homepage": "https://plot.ly",
16+
"homepage": "https://plotly.com/",
1717
"ignore": [
1818
"**/.*",
1919
"bower_components",

composer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@
99
"plotly"
1010
],
1111
"minimum-stability": "stable",
12-
"homepage": "https://plot.ly/javascript/",
12+
"homepage": "https://plotly.com/javascript/",
1313
"license": "MIT",
1414
"authors": [
1515
{
1616
"name": "Plotly, Inc.",
17-
"email": "sales@plot.ly"
17+
"email": "sales@plotly.com"
1818
}
1919
]
2020
}

src/components/modebar/modebar.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ proto.getLogo = function() {
299299
var group = this.createGroup();
300300
var a = document.createElement('a');
301301

302-
a.href = 'https://plot.ly/';
302+
a.href = 'https://plotly.com/';
303303
a.target = '_blank';
304304
a.setAttribute('data-title', Lib._(this.graphInfo, 'Produced with Plotly'));
305305
a.className = 'modebar-btn plotlyjsicon modebar-btn--logo';

src/plot_api/plot_api.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -3137,7 +3137,7 @@ function animate(gd, frameOrGroupNameOrFrameList, animationOpts) {
31373137
throw new Error(
31383138
'This element is not a Plotly plot: ' + gd + '. It\'s likely that you\'ve failed ' +
31393139
'to create a plot before animating it. For more details, see ' +
3140-
'https://plot.ly/javascript/animations/'
3140+
'https://plotly.com/javascript/animations/'
31413141
);
31423142
}
31433143

@@ -3504,7 +3504,7 @@ function addFrames(gd, frameList, indices) {
35043504
throw new Error(
35053505
'This element is not a Plotly plot: ' + gd + '. It\'s likely that you\'ve failed ' +
35063506
'to create a plot before adding frames. For more details, see ' +
3507-
'https://plot.ly/javascript/animations/'
3507+
'https://plotly.com/javascript/animations/'
35083508
);
35093509
}
35103510

src/plots/attributes.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ module.exports = {
164164
editType: 'calc',
165165
description: [
166166
'The stream id number links a data trace on a plot with a stream.',
167-
'See https://plot.ly/settings for more details.'
167+
'See https://chart-studio.plotly.com/settings for more details.'
168168
].join(' ')
169169
},
170170
maxpoints: {

src/plots/font_attributes.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ module.exports = function(opts) {
3939
'The web browser will only be able to apply a font if it is available on the system',
4040
'which it operates. Provide multiple font families, separated by commas, to indicate',
4141
'the preference in which to apply fonts if they aren\'t available on the system.',
42-
'The plotly service (at https://plot.ly or on-premise) generates images on a server,',
42+
'The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server,',
4343
'where only a select number of',
4444
'fonts are installed and supported.',
4545
'These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*,',

src/plots/layout_attributes.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ module.exports = {
302302
'Determines whether or not a text link citing the data source is',
303303
'placed at the bottom-right cored of the figure.',
304304
'Has only an effect only on graphs that have been generated via',
305-
'forked graphs from the plotly service (at https://plot.ly or on-premise).'
305+
'forked graphs from the Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise).'
306306
].join(' ')
307307
},
308308
showlegend: {

src/plots/plots.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1483,7 +1483,7 @@ plots.supplyLayoutGlobalDefaults = function(layoutIn, layoutOut, formatObj) {
14831483

14841484
// Make sure that autosize is defaulted to *true*
14851485
// on layouts with no set width and height for backward compatibly,
1486-
// in particular https://plot.ly/javascript/responsive-fluid-layout/
1486+
// in particular https://plotly.com/javascript/responsive-fluid-layout/
14871487
//
14881488
// Before https://github.com/plotly/plotly.js/pull/635 ,
14891489
// layouts with no set width and height were set temporary set to 'initial'

src/plots/template_attributes.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ exports.hovertemplateAttrs = function(opts, extra) {
5454
'Template string used for rendering the information that appear on hover box.',
5555
'Note that this will override `hoverinfo`.',
5656
templateFormatStringDescription,
57-
'The variables available in `hovertemplate` are the ones emitted as event data described at this link https://plot.ly/javascript/plotlyjs-events/#event-data.',
57+
'The variables available in `hovertemplate` are the ones emitted as event data described at this link https://plotly.com/javascript/plotlyjs-events/#event-data.',
5858
'Additionally, every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available.',
5959
descPart,
6060
'Anything contained in tag `<extra>` is displayed in the secondary box, for example "<extra>{fullData.name}</extra>".',

tasks/stats.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ function getMainBundleInfo() {
127127
'- using CommonJS with `require(\'plotly.js\')`',
128128
'',
129129
'If you would like to have access to the attribute meta information ' +
130-
'(including attribute descriptions as on the [schema reference page](https://plot.ly/javascript/reference/)), ' +
130+
'(including attribute descriptions as on the [schema reference page](https://plotly.com/javascript/reference/)), ' +
131131
'use dist file `dist/plotly-with-meta.js`',
132132
'',
133133
'The main plotly.js bundle weights in at:',

test/image/mocks/sankey_energy.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@
491491
}
492492
}],
493493
"layout": {
494-
"title": "Energy forecast for 2050, UK — Department of Energy & Climate Change<br>Imperfect copy of <a href='https://bost.ocks.org/mike/sankey/'>Mike Bostock's example</a><br>with numerous <a href='https://plot.ly/javascript/'>Plotly</a> features",
494+
"title": "Energy forecast for 2050, UK — Department of Energy & Climate Change<br>Imperfect copy of <a href='https://bost.ocks.org/mike/sankey/'>Mike Bostock's example</a><br>with numerous <a href='https://plotly.com/javascript/'>Plotly</a> features",
495495
"width": 1118,
496496
"height": 772,
497497
"font": {

test/image/mocks/sankey_energy_dark.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@
361361
}
362362
}],
363363
"layout": {
364-
"title": "Energy forecast for 2050, UK — Department of Energy & Climate Change<br>Imperfect copy of <a href='https://bost.ocks.org/mike/sankey/'>Mike Bostock's example</a><br>with numerous <a href='https://plot.ly/javascript/'>Plotly</a> features",
364+
"title": "Energy forecast for 2050, UK — Department of Energy & Climate Change<br>Imperfect copy of <a href='https://bost.ocks.org/mike/sankey/'>Mike Bostock's example</a><br>with numerous <a href='https://plotly.com/javascript/'>Plotly</a> features",
365365
"width": 1200,
366366
"height": 1000,
367367
"paper_bgcolor": "rgba(0,0,0,1)",

test/jasmine/tests/animate_test.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ describe('Test animate API', function() {
122122

123123
expect(function() {
124124
Plotly.addFrames(gd2, [{}]);
125-
}).toThrow(new Error('This element is not a Plotly plot: [object HTMLDivElement]. It\'s likely that you\'ve failed to create a plot before adding frames. For more details, see https://plot.ly/javascript/animations/'));
125+
}).toThrow(new Error('This element is not a Plotly plot: [object HTMLDivElement]. It\'s likely that you\'ve failed to create a plot before adding frames. For more details, see https://plotly.com/javascript/animations/'));
126126

127127
document.body.removeChild(gd);
128128
});
@@ -134,7 +134,7 @@ describe('Test animate API', function() {
134134

135135
expect(function() {
136136
Plotly.animate(gd2, {data: [{}]});
137-
}).toThrow(new Error('This element is not a Plotly plot: [object HTMLDivElement]. It\'s likely that you\'ve failed to create a plot before animating it. For more details, see https://plot.ly/javascript/animations/'));
137+
}).toThrow(new Error('This element is not a Plotly plot: [object HTMLDivElement]. It\'s likely that you\'ve failed to create a plot before animating it. For more details, see https://plotly.com/javascript/animations/'));
138138

139139
document.body.removeChild(gd);
140140
});

test/jasmine/tests/annotations_test.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -1586,10 +1586,10 @@ describe('annotation effects', function() {
15861586

15871587
it('makes the whole text box a link if the link is the whole text', function(done) {
15881588
makePlot([
1589-
{x: 20, y: 20, text: '<a href="https://plot.ly">Plot</a>', showarrow: false},
1590-
{x: 50, y: 50, text: '<a href="https://plot.ly">or</a> not', showarrow: false},
1591-
{x: 80, y: 80, text: '<a href="https://plot.ly">arrow</a>'},
1592-
{x: 20, y: 80, text: 'nor <a href="https://plot.ly">this</a>'}
1589+
{x: 20, y: 20, text: '<a href="https://plotly.com">Plot</a>', showarrow: false},
1590+
{x: 50, y: 50, text: '<a href="https://plotly.com">or</a> not', showarrow: false},
1591+
{x: 80, y: 80, text: '<a href="https://plotly.com">arrow</a>'},
1592+
{x: 20, y: 80, text: 'nor <a href="https://plotly.com">this</a>'}
15931593
])
15941594
.then(function() {
15951595
function checkBoxLink(index, isLink) {
@@ -1605,7 +1605,7 @@ describe('annotation effects', function() {
16051605

16061606
function checkLink(link) {
16071607
expect(link.node().style.cursor).toBe('pointer');
1608-
expect(link.attr('xlink:href')).toBe('https://plot.ly');
1608+
expect(link.attr('xlink:href')).toBe('https://plotly.com');
16091609
expect(link.attr('xlink:show')).toBe('new');
16101610
}
16111611

test/jasmine/tests/drawing_test.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ describe('Drawing', function() {
4040
// append <base> with href
4141
var base = d3.select('body')
4242
.append('base')
43-
.attr('href', 'https://plot.ly');
43+
.attr('href', 'https://chart-studio.plotly.com');
4444

4545
// grab window URL
4646
var href = window.location.href;
@@ -56,7 +56,7 @@ describe('Drawing', function() {
5656
it('should append window URL w/o hash to clip-path if <base> is present', function() {
5757
var base = d3.select('body')
5858
.append('base')
59-
.attr('href', 'https://plot.ly/#hash');
59+
.attr('href', 'https://chart-studio.plotly.com/#hash');
6060

6161
window.location.hash = 'hash';
6262
var href = window.location.href;
@@ -547,7 +547,7 @@ describe('gradients', function() {
547547
it('should append window URL to gradient ref if <base> is present', function(done) {
548548
var base = d3.select('body')
549549
.append('base')
550-
.attr('href', 'https://plot.ly');
550+
.attr('href', 'https://chart-studio.plotly.com');
551551

552552
Plotly.plot(gd, [{
553553
type: 'heatmap',

test/jasmine/tests/plot_interact_test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@ describe('plot svg clip paths', function() {
560560
// append <base> with href
561561
var base = d3.select('body')
562562
.append('base')
563-
.attr('href', 'https://plot.ly');
563+
.attr('href', 'https://chart-studio.plotly.com');
564564

565565
// grab window URL
566566
var href = window.location.href.split('#')[0];

0 commit comments

Comments
 (0)