Skip to content

Commit 2bc318f

Browse files
committed
remove layout.hidesources attr
1 parent 417a343 commit 2bc318f

44 files changed

Lines changed: 30 additions & 91 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/plots/layout_attributes.js

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -318,17 +318,6 @@ module.exports = {
318318
'other locales may alter this default.'
319319
].join(' ')
320320
},
321-
hidesources: {
322-
valType: 'boolean',
323-
dflt: false,
324-
editType: 'plot',
325-
description: [
326-
'Determines whether or not a text link citing the data source is',
327-
'placed at the bottom-right cored of the figure.',
328-
'Has only an effect only on graphs that have been generated via',
329-
'forked graphs from the Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise).'
330-
].join(' ')
331-
},
332321
showlegend: {
333322
// handled in legend.supplyLayoutDefaults
334323
// but included here because it's not in the legend object

src/plots/plots.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1318,7 +1318,6 @@ plots.supplyLayoutGlobalDefaults = function(layoutIn, layoutOut, formatObj) {
13181318
coerce('paper_bgcolor');
13191319

13201320
coerce('separators', formatObj.decimal + formatObj.thousands);
1321-
coerce('hidesources');
13221321

13231322
coerce('colorway');
13241323

src/snapshot/cloneplot.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ function cloneLayoutOverride(tileClass) {
2626
case 'thumbnail':
2727
override = {
2828
title: {text: ''},
29-
hidesources: true,
3029
showlegend: false,
3130
borderwidth: 0,
3231
bordercolor: '',

src/types/generated/schema.d.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16254,7 +16254,6 @@ export interface Layout {
1625416254
yside?: 'left' | 'left plot' | 'right plot' | 'right';
1625516255
};
1625616256
height?: number;
16257-
hidesources?: boolean;
1625816257
hoveranywhere?: boolean;
1625916258
hoverdistance?: number;
1626016259
hoverlabel?: {

test/image/mocks/0.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1217,7 +1217,6 @@
12171217
"barmode": "stack",
12181218
"bargap": 0.2,
12191219
"bargroupgap": 0,
1220-
"separators": ".,",
1221-
"hidesources": false
1220+
"separators": ".,"
12221221
}
12231222
}

test/image/mocks/1.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,6 @@
609609
"hovermode": "x",
610610
"dragmode": "zoom",
611611
"boxmode": "overlay",
612-
"separators": ".,",
613-
"hidesources": false
612+
"separators": ".,"
614613
}
615614
}

test/image/mocks/10.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,6 @@
256256
"plot_bgcolor": "rgb(255, 255, 255)",
257257
"hovermode": "x",
258258
"dragmode": "zoom",
259-
"separators": ".,",
260-
"hidesources": false
259+
"separators": ".,"
261260
}
262261
}

test/image/mocks/11.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,6 @@
232232
"bargap": 0.2,
233233
"bargroupgap": 0,
234234
"boxmode": "overlay",
235-
"separators": ".,",
236-
"hidesources": false
235+
"separators": ".,"
237236
}
238237
}

test/image/mocks/12.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,6 @@
505505
"bargroupgap": 0,
506506
"boxmode": "overlay",
507507
"separators": ".,",
508-
"hidesources": false,
509508
"selections": [
510509
{
511510
"x0": 150,

test/image/mocks/13.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,6 @@
328328
"bargap": 0.2,
329329
"bargroupgap": 0,
330330
"boxmode": "overlay",
331-
"separators": ".,",
332-
"hidesources": false
331+
"separators": ".,"
333332
}
334333
}

0 commit comments

Comments
 (0)