pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/plotly/plotly.js/commit/d81e59829a66796eceefd63153ba0c428255bc74

ink crossorigen="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/global-9c8f61f9f58ad7b2.css" /> apply chart-studio.plotly.com and other fixups · plotly/plotly.js@d81e598 · GitHub
Skip to content

Commit d81e598

Browse files
committed
apply chart-studio.plotly.com and other fixups
1 parent 9959cb8 commit d81e598

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

src/plot_api/plot_config.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ var configAttributes = {
3434
valType: 'string',
3535
dflt: '',
3636
description: [
37-
'When set it determines base URL e.g. \'https://plotly.com\' for',
38-
'the \'Edit in Chart Studio\' (aka sendDataToCloud) mode bar button',
37+
'When set it determines base URL for',
38+
'the \'Edit in Chart Studio\' `showEditInChartStudio`/`showSendToCloud` mode bar button',
3939
'and the showLink/sendData on-graph link.',
40-
'To enable sending your data to Plotly\'s public cloud, you need to',
40+
'To enable sending your data to Chart Studio Cloud, you need to',
4141
'set both `plotlyServerURL` to \'https://chart-studio.plotly.com\' and',
4242
'also set `showSendToCloud` to true.'
4343
].join(' ')
@@ -265,7 +265,7 @@ var configAttributes = {
265265
dflt: false,
266266
description: [
267267
'Should we include a ModeBar button, labeled "Edit in Chart Studio",',
268-
'that sends this chart to plotly.com (formerly plot.ly) or another plotly server',
268+
'that sends this chart to chart-studio.plotly.com (formerly plot.ly) or another plotly server',
269269
'as specified by `plotlyServerURL` for editing, export, etc? Prior to version 1.43.0',
270270
'this button was included by default, now it is opt-in using this flag.',
271271
'Note that this button can (depending on `plotlyServerURL` being set) send your data',

test/jasmine/tests/config_test.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ describe('config argument', function() {
505505
Plotly.plot(gd, [], {})
506506
.then(function() {
507507
expect(gd._context.plotlyServerURL).not.toBe('https://plot.ly');
508-
expect(gd._context.plotlyServerURL).not.toBe('https://plotly.com');
508+
expect(gd._context.plotlyServerURL).not.toBe('https://chart-studio.plotly.com');
509509
expect(gd._context.plotlyServerURL).toBe('');
510510

511511
Plotly.Plots.sendDataToCloud(gd);
@@ -515,15 +515,15 @@ describe('config argument', function() {
515515
.then(done);
516516
});
517517

518-
it('should be able to connect to plotly cloud when set to https://plotly.com', function(done) {
518+
it('should be able to connect to Chart Studio Cloud when set to https://chart-studio.plotly.com', function(done) {
519519
Plotly.plot(gd, [], {}, {
520-
plotlyServerURL: 'https://plotly.com'
520+
plotlyServerURL: 'https://chart-studio.plotly.com'
521521
})
522522
.then(function() {
523-
expect(gd._context.plotlyServerURL).toBe('https://plotly.com');
523+
expect(gd._context.plotlyServerURL).toBe('https://chart-studio.plotly.com');
524524

525525
Plotly.Plots.sendDataToCloud(gd);
526-
expect(form.action).toBe('https://plotly.com/external');
526+
expect(form.action).toBe('https://chart-studio.plotly.com/external');
527527
expect(form.method).toBe('post');
528528
})
529529
.catch(failTest)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy