Skip to content

Commit 05dd3a6

Browse files
committed
cartesian: use fullLayout._plots keys instead of Axes.getSubplots
- no need to call getSubplots twice, grab subplot ids from _plots hash for speed.
1 parent bf714d0 commit 05dd3a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plots/cartesian/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ exports.rangePlot = function(gd, plotinfo, cdSubplot) {
214214

215215
function makeSubplotData(gd) {
216216
var fullLayout = gd._fullLayout,
217-
subplots = Axes.getSubplots(gd);
217+
subplots = Object.keys(fullLayout._plots);
218218

219219
var subplotData = [],
220220
overlays = [];

0 commit comments

Comments
 (0)