Skip to content

Commit 8796e76

Browse files
committed
delete range from smith axis at the end of plot
1 parent 54d2ca2 commit 8796e76

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/plots/polar/polar.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,11 @@ proto.plot = function(polarCalcData, fullLayout) {
114114
_this.updateLayout(fullLayout, polarLayout);
115115
Plots.generalUpdatePerTraceModule(_this.gd, _this, polarCalcData, polarLayout);
116116
_this.updateFx(fullLayout, polarLayout);
117+
118+
if(_this.isSmith) {
119+
delete polarLayout.realaxis.range;
120+
delete polarLayout.imaginaryaxis.range;
121+
}
117122
};
118123

119124
proto.updateLayers = function(fullLayout, polarLayout) {

0 commit comments

Comments
 (0)