Skip to content

Commit 281220a

Browse files
committed
fix polar set_convert
1 parent 662294e commit 281220a

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/plots/polar/set_convert.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -109,14 +109,6 @@ function setConvertAngular(ax, polarLayout) {
109109
var _d2c = function(v) { return ax.d2c(v, trace.thetaunit); };
110110

111111
if(arrayIn) {
112-
if(Lib.isTypedArray(arrayIn) && axType === 'linear') {
113-
if(len === arrayIn.length) {
114-
return arrayIn;
115-
} else if(arrayIn.subarray) {
116-
return arrayIn.subarray(0, len);
117-
}
118-
}
119-
120112
arrayOut = new Array(len);
121113
for(i = 0; i < len; i++) {
122114
arrayOut[i] = _d2c(arrayIn[i]);

0 commit comments

Comments
 (0)