Skip to content

Commit b28de25

Browse files
committed
Merge pull request #4456 from plotly/fix-pies
Fix interactive pies [fixes #4453]
2 parents 448db40 + a20bbf9 commit b28de25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shelly/plotlyjs/static/plotlyjs/src/graph_interact.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ fx.init = function(gd) {
7878

7979
if(fullLayout._hasGL3D || fullLayout._hasGeo || gd._context.staticPlot) return;
8080

81-
var subplots = Object.keys(fullLayout._plots).sort(function(a,b) {
81+
var subplots = Object.keys(fullLayout._plots || {}).sort(function(a,b) {
8282
// sort overlays last, then by x axis number, then y axis number
8383
if( (fullLayout._plots[a].mainplot && true) ===
8484
(fullLayout._plots[b].mainplot && true) ) {

0 commit comments

Comments
 (0)