Skip to content

Commit 68b12c4

Browse files
committed
make sure to add cartesian base plot module to orphan axis graphs:
- so that Cartesian.plot gets called
1 parent 3787d47 commit 68b12c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plots/cartesian/layout_defaults.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ module.exports = function supplyLayoutDefaults(layoutIn, layoutOut, fullData) {
9595
// make sure that plots with orphan cartesian axes
9696
// are considered 'cartesian'
9797
if(xaListCartesian.length && yaListCartesian.length) {
98-
layoutOut._hasCartesian = true;
98+
Lib.fillUnique(layoutOut._basePlotModules, Plots.subplotsRegistry.cartesian);
9999
}
100100

101101
function axSort(a, b) {

0 commit comments

Comments
 (0)