Skip to content

Commit 888f9c0

Browse files
committed
🔪 smith attribute
if/when we decide to do this, it probably won't be implemented that way anyhow
1 parent 75987d0 commit 888f9c0

File tree

5 files changed

+0
-12
lines changed

5 files changed

+0
-12
lines changed

src/plots/layout_attributes.js

-8
Original file line numberDiff line numberDiff line change
@@ -168,14 +168,6 @@ module.exports = {
168168
'forked graphs from the plotly service (at https://plot.ly or on-premise).'
169169
].join(' ')
170170
},
171-
smith: {
172-
// will become a boolean if/when we implement this
173-
valType: 'enumerated',
174-
role: 'info',
175-
values: [false],
176-
dflt: false,
177-
editType: 'none'
178-
},
179171
showlegend: {
180172
// handled in legend.supplyLayoutDefaults
181173
// but included here because it's not in the legend object

src/plots/plots.js

-1
Original file line numberDiff line numberDiff line change
@@ -1137,7 +1137,6 @@ plots.supplyLayoutGlobalDefaults = function(layoutIn, layoutOut) {
11371137

11381138
coerce('separators');
11391139
coerce('hidesources');
1140-
coerce('smith');
11411140

11421141
Registry.getComponentMethod(
11431142
'calendars',

test/image/mocks/contour_match_edges.json

-1
Original file line numberDiff line numberDiff line change
@@ -10487,7 +10487,6 @@
1048710487
"title":"Click to enter Plot title",
1048810488
"plot_bgcolor":"#fff",
1048910489
"dragmode":"zoom",
10490-
"smith":false,
1049110490
"width":964,
1049210491
"bargap":0.2,
1049310492
"xaxis":{

test/image/mocks/gl3d_opacity-surface.json

-1
Original file line numberDiff line numberDiff line change
@@ -7848,7 +7848,6 @@
78487848
"paper_bgcolor": "#fff",
78497849
"plot_bgcolor": "#fff",
78507850
"dragmode": "zoom",
7851-
"smith": false,
78527851
"scene": {
78537852
"domain": {
78547853
"y": [

test/image/mocks/titles-avoid-labels.json

-1
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,6 @@
175175
"hovermode": "x",
176176
"separators": ".,",
177177
"hidesources": false,
178-
"smith": false,
179178
"showlegend": false
180179
}
181180
}

0 commit comments

Comments
 (0)