Skip to content

Commit 694cbdb

Browse files
committed
Force smith chart to use radial range [0, 1]
1 parent 6ca5360 commit 694cbdb

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/plots/smith/layout_defaults.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,7 @@ function handleDefaults(contIn, contOut, coerce, opts) {
8383

8484
switch(axName) {
8585
case 'radialaxis':
86-
var autoRange = coerceAxis('autorange', !axOut.isValidRange(axIn.range));
87-
axIn.autorange = autoRange;
88-
if(autoRange && (axType === 'linear' || axType === '-')) coerceAxis('rangemode');
89-
if(autoRange === 'reversed') axOut._m = -1;
86+
axIn.autorange = false;
9087

9188
coerceAxis('range');
9289
axOut.cleanRange('range', {dfltRange: [0, 1]});

0 commit comments

Comments
 (0)