Skip to content

Commit 73d37a6

Browse files
committed
cleanup unused logic
1 parent 06ea178 commit 73d37a6

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

src/plot_api/helpers.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ exports.cleanLayout = function(layout) {
4646

4747
var axisAttrRegex = (Plots.subplotsRegistry.cartesian || {}).attrRegex;
4848
var polarAttrRegex = (Plots.subplotsRegistry.polar || {}).attrRegex;
49-
var smithAttrRegex = (Plots.subplotsRegistry.smith || {}).attrRegex;
5049
var ternaryAttrRegex = (Plots.subplotsRegistry.ternary || {}).attrRegex;
5150
var sceneAttrRegex = (Plots.subplotsRegistry.gl3d || {}).attrRegex;
5251

@@ -94,11 +93,6 @@ exports.cleanLayout = function(layout) {
9493

9594
var polar = layout[key];
9695
cleanTitle(polar.radialaxis);
97-
} else if(smithAttrRegex && smithAttrRegex.test(key)) {
98-
// modifications for smith
99-
100-
var smith = layout[key];
101-
cleanTitle(smith.realaxis);
10296
} else if(ternaryAttrRegex && ternaryAttrRegex.test(key)) {
10397
// modifications for ternary
10498

src/plots/polar/polar.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ var helpers = require('./helpers');
3131

3232
var smithHelpers = require('../smith/helpers');
3333
var smith = smithHelpers.smith;
34-
// var smithInvert = smithHelpers.smithInvert;
3534
var reactanceArc = smithHelpers.reactanceArc;
3635
var resistanceArc = smithHelpers.resistanceArc;
3736
var smithTransform = smithHelpers.smithTransform;

0 commit comments

Comments
 (0)