Skip to content

Commit 111bef1

Browse files
committed
Update plot config to show 'upload to cloud' button by default
1 parent 437cb2b commit 111bef1

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

dist/plot-schema.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@
280280
},
281281
"plotlyServerURL": {
282282
"description": "Sets the URL for the `sendChartToCloud` modebar button. When clicked, the button will send the chart data to this URL.",
283-
"dflt": "",
283+
"dflt": "https://cloud.plotly.com/newchart",
284284
"valType": "string"
285285
},
286286
"queueLength": {
@@ -342,7 +342,7 @@
342342
},
343343
"showSendToCloud": {
344344
"description": "Should we include a modebar button that sends this chart to a URL specified by `plotlyServerURL`, for sharing the chart with others? Note that this button will (after a confirmation step) send chart data to an external server.",
345-
"dflt": false,
345+
"dflt": true,
346346
"valType": "boolean"
347347
},
348348
"showSources": {

src/plot_api/plot_config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ var configAttributes = {
3333

3434
plotlyServerURL: {
3535
valType: 'string',
36-
dflt: '',
36+
dflt: 'https://cloud.plotly.com/newchart',
3737
description: [
3838
'Sets the URL for the `sendChartToCloud` modebar button.',
3939
'When clicked, the button will send the chart data to this URL.',
@@ -271,7 +271,7 @@ var configAttributes = {
271271
},
272272
showSendToCloud: {
273273
valType: 'boolean',
274-
dflt: false,
274+
dflt: true,
275275
description: [
276276
'Should we include a modebar button that sends this chart to a URL',
277277
'specified by `plotlyServerURL`, for sharing the chart with others?',

test/plot-schema.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@
280280
},
281281
"plotlyServerURL": {
282282
"description": "Sets the URL for the `sendChartToCloud` modebar button. When clicked, the button will send the chart data to this URL.",
283-
"dflt": "",
283+
"dflt": "https://cloud.plotly.com/newchart",
284284
"valType": "string"
285285
},
286286
"queueLength": {
@@ -342,7 +342,7 @@
342342
},
343343
"showSendToCloud": {
344344
"description": "Should we include a modebar button that sends this chart to a URL specified by `plotlyServerURL`, for sharing the chart with others? Note that this button will (after a confirmation step) send chart data to an external server.",
345-
"dflt": false,
345+
"dflt": true,
346346
"valType": "boolean"
347347
},
348348
"showSources": {

0 commit comments

Comments
 (0)