8000 Axes.draw w/o getBoundingClientRect + many axis automargin fixes by etpinard · Pull Request #4165 · plotly/plotly.js · GitHub
[go: up one dir, main page]

Skip to content

Axes.draw w/o getBoundingClientRect + many axis automargin fixes #4165

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 15 commits into from
Sep 6, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

8000
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
🔪 useless axis mocking in polar
... we no longer need to do this since the
   Axes.doTicks -> Axes.drawOne refactor
  • Loading branch information
etpinard committed Sep 4, 2019
commit 93ef0433a295413769a42874f139d37dd00b5fb3
8 changes: 1 addition & 7 deletions src/plots/polar/polar.js
Original file line number Diff line number Diff line change
Expand Up @@ -299,13 +299,7 @@ proto.updateLayout = function(fullLayout, polarLayout) {
};

proto.mockAxis = function(fullLayout, polarLayout, axLayout, opts) {
var commonOpts = {
// to get _boundingBox computation right when showticklabels is false
anchor: 'free',
position: 0
};

var ax = Lib.extendFlat(commonOpts, axLayout, opts);
var ax = Lib.extendFlat({}, axLayout, opts);
setConvertPolar(ax, polarLayout, fullLayout);
return ax;
};
Expand Down
0