8000 :hocho: useless axis mocking in polar · plotly/plotly.js@93ef043 · GitHub
[go: up one dir, main page]

Skip to content

Commit 93ef043

Browse files
committed
🔪 useless axis mocking in polar
... we no longer need to do this since the Axes.doTicks -> Axes.drawOne refactor
1 parent b453045 commit 93ef043

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/plots/polar/polar.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -299,13 +299,7 @@ proto.updateLayout = function(fullLayout, polarLayout) {
299299
};
300300

301301
proto.mockAxis = function(fullLayout, polarLayout, axLayout, opts) {
302-
var commonOpts = {
303-
// to get _boundingBox computation right when showticklabels is false
304-
anchor: 'free',
305-
position: 0
306-
};
307-
308-
var ax = Lib.extendFlat(commonOpts, axLayout, opts);
302+
var ax = Lib.extendFlat({}, axLayout, opts);
309303
setConvertPolar(ax, polarLayout, fullLayout);
310304
return ax;
311305
};

0 commit comments

Comments
 (0)
0