Skip to content

Update links to new websites - edition March 2020 #4694

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Mar 27, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 18 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
<a href="https://plot.ly/javascript/"><img src="http://images.plot.ly/logo/plotlyjs-logo@2x.png" height="70"></a>
<a href="https://plotly.com/javascript/"><img src="https://images.plot.ly/logo/plotlyjs-logo@2x.png" height="70"></a>

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

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

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

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

## Table of contents

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

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

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


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

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.
To learn more about the plotly.js module architecture, refer to our [modularizing monolithic JS projects](https://plotly.com/javascript/plotly-fundamentals/) post.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's just remove this line please. The underlying content has been removed.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in 1fe9c53.


#### Non-ascii characters

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

## Documentation

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

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.
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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you update these to replace documentation with graphing-library-docs please? The new repo is at https://github.com/plotly/graphing-library-docs

For more info about contributing to Plotly documentation, please read through [contributing guidelines](https://github.com/plotly/documentation/blob/source/Contributing.md).

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).
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).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's remove this line plz

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in 1fe9c53.


## Contributing

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

* Follow [@plotlygraphs](https://twitter.com/plotlygraphs) on Twitter for the latest Plotly news.
* Follow [@plotly_js](https://twitter.com/plotly_js) on Twitter for plotly.js release updates.
* Implementation help may be found on community.plot.ly (tagged [`plotly-js`](http://community.plot.ly/c/plotly-js)) or
* Implementation help may be found on community.plot.com (tagged [`plotly-js`](https://community.plotly.com/c/plotly-js)) or
on Stack Overflow (tagged [`plotly`](https://stackoverflow.com/questions/tagged/plotly)).
* 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).
* Direct developer email support can be purchased through a [Plotly Support Plan](https://support.plot.ly/libraries/javascript).
* Direct developer email support can be purchased through a [Plotly Support Plan](https://plotly.com/chart-studio-help/chart-studio-cloud-support/).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove this line.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in 1fe9c53.


## Versioning

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

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

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

| | GitHub repo | Getting started |
|---|--------|---------|
|**R / RStudio**| [ropensci/plotly](https://github.com/ropensci/plotly) | [plot.ly/r/getting-started](https://plot.ly/r/getting-started) |
|**Python / Pandas / IPython notebook**| [plotly/plotly.py](https://github.com/plotly/plotly.py) | [plot.ly/python/getting-started](https://plot.ly/python/getting-started) |
|**MATLAB**| [plotly/matlab-api](https://github.com/plotly/matlab-api) | [plot.ly/matlab/getting-started](https://plot.ly/matlab/getting-started) |
|**R / RStudio**| [ropensci/plotly](https://github.com/ropensci/plotly) | [plotly/r/getting-started](https://plotly.com/r/getting-started) |
|**Python / Pandas / IPython notebook**| [plotly/plotly.py](https://github.com/plotly/plotly.py) | [plotly/python/getting-started](https://plotly.com/python/getting-started) |
|**MATLAB**| [plotly/matlab-api](https://github.com/plotly/matlab-api) | [plotly/matlab/getting-started](https://plotly.com/matlab/getting-started) |
|**node.js / Tonicdev / Jupyter notebook**| [plotly/plotly-notebook-js](https://github.com/plotly/plotly-notebook-js) | |
|**node.js cloud client**| [plotly/plotly-nodejs](https://github.com/plotly/plotly-nodejs) | [plot.ly/nodejs/getting-started](https://plot.ly/nodejs/getting-started) |
|**Julia**| [plotly/Plotly.jl](https://github.com/plotly/Plotly.jl) | [plot.ly/julia/getting-started](https://plot.ly/julia/getting-started) |
|**node.js cloud client**| [plotly/plotly-nodejs](https://github.com/plotly/plotly-nodejs) | [plotly/nodejs/getting-started](https://plotly.com/nodejs/getting-started) |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove this line.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in df6918c.

|**Julia**| [plotly/Plotly.jl](https://github.com/plotly/Plotly.jl) | [plotly/julia/getting-started](https://plotly.com/julia/getting-started) |

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

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove this line.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in df6918c.


## Creators

Expand Down
8 changes: 4 additions & 4 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@ untrusted data being graphed by plotly.js. However, XSS or other issues may sti
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.

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

## Reports

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

## Bounties

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.
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.

## Release Process

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

## Advisories

All plotly.js security advisories released after August 1, 2016 are available at the [Plotly Security Advisories](http://help.plot.ly/security-advisories/) page.
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.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"visualization",
"plotly"
],
"homepage": "https://plot.ly",
"homepage": "https://plotly.com/",
"ignore": [
"**/.*",
"bower_components",
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
"plotly"
],
"minimum-stability": "stable",
"homepage": "https://plot.ly/javascript/",
"homepage": "https://plotly.com/javascript/",
"license": "MIT",
"authors": [
{
"name": "Plotly, Inc.",
"email": "sales@plot.ly"
"email": "sales@plotly.com"
}
]
}
2 changes: 1 addition & 1 deletion src/components/modebar/modebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ proto.getLogo = function() {
var group = this.createGroup();
var a = document.createElement('a');

a.href = 'https://plot.ly/';
a.href = 'https://plotly.com/';
a.target = '_blank';
a.setAttribute('data-title', Lib._(this.graphInfo, 'Produced with Plotly'));
a.className = 'modebar-btn plotlyjsicon modebar-btn--logo';
Expand Down
4 changes: 2 additions & 2 deletions src/plot_api/plot_api.js
Original file line number Diff line number Diff line change
Expand Up @@ -3137,7 +3137,7 @@ function animate(gd, frameOrGroupNameOrFrameList, animationOpts) {
throw new Error(
'This element is not a Plotly plot: ' + gd + '. It\'s likely that you\'ve failed ' +
'to create a plot before animating it. For more details, see ' +
'https://plot.ly/javascript/animations/'
'https://plotly.com/javascript/animations/'
);
}

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

Expand Down
2 changes: 1 addition & 1 deletion src/plots/attributes.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ module.exports = {
editType: 'calc',
description: [
'The stream id number links a data trace on a plot with a stream.',
'See https://plot.ly/settings for more details.'
'See https://chart-studio.plotly.com/settings for more details.'
].join(' ')
},
maxpoints: {
Expand Down
2 changes: 1 addition & 1 deletion src/plots/font_attributes.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ module.exports = function(opts) {
'The web browser will only be able to apply a font if it is available on the system',
'which it operates. Provide multiple font families, separated by commas, to indicate',
'the preference in which to apply fonts if they aren\'t available on the system.',
'The plotly service (at https://plot.ly or on-premise) generates images on a server,',
'The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server,',
'where only a select number of',
'fonts are installed and supported.',
'These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*,',
Expand Down
2 changes: 1 addition & 1 deletion src/plots/layout_attributes.js
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ module.exports = {
'Determines whether or not a text link citing the data source is',
'placed at the bottom-right cored of the figure.',
'Has only an effect only on graphs that have been generated via',
'forked graphs from the plotly service (at https://plot.ly or on-premise).'
'forked graphs from the Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise).'
].join(' ')
},
showlegend: {
Expand Down
2 changes: 1 addition & 1 deletion src/plots/plots.js
Original file line number Diff line number Diff line change
Expand Up @@ -1483,7 +1483,7 @@ plots.supplyLayoutGlobalDefaults = function(layoutIn, layoutOut, formatObj) {

// Make sure that autosize is defaulted to *true*
// on layouts with no set width and height for backward compatibly,
// in particular https://plot.ly/javascript/responsive-fluid-layout/
// in particular https://plotly.com/javascript/responsive-fluid-layout/
//
// Before https://github.com/plotly/plotly.js/pull/635 ,
// layouts with no set width and height were set temporary set to 'initial'
Expand Down
2 changes: 1 addition & 1 deletion src/plots/template_attributes.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ exports.hovertemplateAttrs = function(opts, extra) {
'Template string used for rendering the information that appear on hover box.',
'Note that this will override `hoverinfo`.',
templateFormatStringDescription,
'The variables available in `hovertemplate` are the ones emitted as event data described at this link https://plot.ly/javascript/plotlyjs-events/#event-data.',
'The variables available in `hovertemplate` are the ones emitted as event data described at this link https://plotly.com/javascript/plotlyjs-events/#event-data.',
'Additionally, every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available.',
descPart,
'Anything contained in tag `<extra>` is displayed in the secondary box, for example "<extra>{fullData.name}</extra>".',
Expand Down
2 changes: 1 addition & 1 deletion tasks/stats.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ function getMainBundleInfo() {
'- using CommonJS with `require(\'plotly.js\')`',
'',
'If you would like to have access to the attribute meta information ' +
'(including attribute descriptions as on the [schema reference page](https://plot.ly/javascript/reference/)), ' +
'(including attribute descriptions as on the [schema reference page](https://plotly.com/javascript/reference/)), ' +
'use dist file `dist/plotly-with-meta.js`',
'',
'The main plotly.js bundle weights in at:',
Expand Down
2 changes: 1 addition & 1 deletion test/image/mocks/sankey_energy.json
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@
}
}],
"layout": {
"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",
"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",
"width": 1118,
"height": 772,
"font": {
Expand Down
2 changes: 1 addition & 1 deletion test/image/mocks/sankey_energy_dark.json
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@
}
}],
"layout": {
"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",
"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",
"width": 1200,
"height": 1000,
"paper_bgcolor": "rgba(0,0,0,1)",
Expand Down
4 changes: 2 additions & 2 deletions test/jasmine/tests/animate_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ describe('Test animate API', function() {

expect(function() {
Plotly.addFrames(gd2, [{}]);
}).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/'));
}).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/'));

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

expect(function() {
Plotly.animate(gd2, {data: [{}]});
}).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/'));
}).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/'));

document.body.removeChild(gd);
});
Expand Down
10 changes: 5 additions & 5 deletions test/jasmine/tests/annotations_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -1586,10 +1586,10 @@ describe('annotation effects', function() {

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

function checkLink(link) {
expect(link.node().style.cursor).toBe('pointer');
expect(link.attr('xlink:href')).toBe('https://plot.ly');
expect(link.attr('xlink:href')).toBe('https://plotly.com');
expect(link.attr('xlink:show')).toBe('new');
}

Expand Down
6 changes: 3 additions & 3 deletions test/jasmine/tests/drawing_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ describe('Drawing', function() {
// append <base> with href
var base = d3.select('body')
.append('base')
.attr('href', 'https://plot.ly');
.attr('href', 'https://chart-studio.plotly.com');

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

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

Plotly.plot(gd, [{
type: 'heatmap',
Expand Down
2 changes: 1 addition & 1 deletion test/jasmine/tests/plot_interact_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,7 @@ describe('plot svg clip paths', function() {
// append <base> with href
var base = d3.select('body')
.append('base')
.attr('href', 'https://plot.ly');
.attr('href', 'https://chart-studio.plotly.com');

// grab window URL
var href = window.location.href.split('#')[0];
Expand Down
Loading