Skip to content

Commit

Permalink
Merge pull request #5409 from plotly/layout-has-cleanup
Browse files Browse the repository at this point in the history
No longer attach _has plot types to fullLayout
  • Loading branch information
archmoj authored Jan 15, 2021
2 parents 35cfbaf + a13b94c commit d430b84
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/plots/plots.js
Original file line number Diff line number Diff line change
Expand Up @@ -461,15 +461,6 @@ plots.supplyDefaults = function(gd, opts) {
newFullLayout.images.length === 0
);

// TODO remove in v2.0.0
// add has-plot-type refs to fullLayout for backward compatibility
newFullLayout._hasCartesian = newFullLayout._has('cartesian');
newFullLayout._hasGeo = newFullLayout._has('geo');
newFullLayout._hasGL3D = newFullLayout._has('gl3d');
newFullLayout._hasGL2D = newFullLayout._has('gl2d');
newFullLayout._hasTernary = newFullLayout._has('ternary');
newFullLayout._hasPie = newFullLayout._has('pie');

// relink / initialize subplot axis objects
plots.linkSubplots(newFullData, newFullLayout, oldFullData, oldFullLayout);

Expand Down

0 comments on commit d430b84

Please sign in to comment.