From 888f9c06697e530dbb7a9e935859528fc83da768 Mon Sep 17 00:00:00 2001 From: alexcjohnson Date: Mon, 16 Oct 2017 14:16:40 -0400 Subject: [PATCH] :hocho: smith attribute if/when we decide to do this, it probably won't be implemented that way anyhow --- src/plots/layout_attributes.js | 8 -------- src/plots/plots.js | 1 - test/image/mocks/contour_match_edges.json | 1 - test/image/mocks/gl3d_opacity-surface.json | 1 - test/image/mocks/titles-avoid-labels.json | 1 - 5 files changed, 12 deletions(-) diff --git a/src/plots/layout_attributes.js b/src/plots/layout_attributes.js index aebb30c6a47..c3ee025aa75 100644 --- a/src/plots/layout_attributes.js +++ b/src/plots/layout_attributes.js @@ -168,14 +168,6 @@ module.exports = { 'forked graphs from the plotly service (at https://plot.ly or on-premise).' ].join(' ') }, - smith: { - // will become a boolean if/when we implement this - valType: 'enumerated', - role: 'info', - values: [false], - dflt: false, - editType: 'none' - }, showlegend: { // handled in legend.supplyLayoutDefaults // but included here because it's not in the legend object diff --git a/src/plots/plots.js b/src/plots/plots.js index 9bd83886d96..03799b4c270 100644 --- a/src/plots/plots.js +++ b/src/plots/plots.js @@ -1137,7 +1137,6 @@ plots.supplyLayoutGlobalDefaults = function(layoutIn, layoutOut) { coerce('separators'); coerce('hidesources'); - coerce('smith'); Registry.getComponentMethod( 'calendars', diff --git a/test/image/mocks/contour_match_edges.json b/test/image/mocks/contour_match_edges.json index 101f2e27345..286b6006c47 100644 --- a/test/image/mocks/contour_match_edges.json +++ b/test/image/mocks/contour_match_edges.json @@ -10487,7 +10487,6 @@ "title":"Click to enter Plot title", "plot_bgcolor":"#fff", "dragmode":"zoom", - "smith":false, "width":964, "bargap":0.2, "xaxis":{ diff --git a/test/image/mocks/gl3d_opacity-surface.json b/test/image/mocks/gl3d_opacity-surface.json index 29ca71ffe46..e07b05fd2aa 100644 --- a/test/image/mocks/gl3d_opacity-surface.json +++ b/test/image/mocks/gl3d_opacity-surface.json @@ -7848,7 +7848,6 @@ "paper_bgcolor": "#fff", "plot_bgcolor": "#fff", "dragmode": "zoom", - "smith": false, "scene": { "domain": { "y": [ diff --git a/test/image/mocks/titles-avoid-labels.json b/test/image/mocks/titles-avoid-labels.json index 9a811ee7940..f709ba944d8 100644 --- a/test/image/mocks/titles-avoid-labels.json +++ b/test/image/mocks/titles-avoid-labels.json @@ -175,7 +175,6 @@ "hovermode": "x", "separators": ".,", "hidesources": false, - "smith": false, "showlegend": false } }