Skip to content

Commit d430b84

Browse files
authored
Merge pull request #5409 from plotly/layout-has-cleanup
No longer attach _has plot types to fullLayout
2 parents 35cfbaf + a13b94c commit d430b84

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/plots/plots.js

-9
Original file line numberDiff line numberDiff line change
@@ -461,15 +461,6 @@ plots.supplyDefaults = function(gd, opts) {
461461
newFullLayout.images.length === 0
462462
);
463463

464-
// TODO remove in v2.0.0
465-
// add has-plot-type refs to fullLayout for backward compatibility
466-
newFullLayout._hasCartesian = newFullLayout._has('cartesian');
467-
newFullLayout._hasGeo = newFullLayout._has('geo');
468-
newFullLayout._hasGL3D = newFullLayout._has('gl3d');
469-
newFullLayout._hasGL2D = newFullLayout._has('gl2d');
470-
newFullLayout._hasTernary = newFullLayout._has('ternary');
471-
newFullLayout._hasPie = newFullLayout._has('pie');
472-
473464
// relink / initialize subplot axis objects
474465
plots.linkSubplots(newFullData, newFullLayout, oldFullData, oldFullLayout);
475466

0 commit comments

Comments
 (0)