We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c4c9bf commit b365374Copy full SHA for b365374
src/plot_api/plot_api.js
@@ -1946,7 +1946,7 @@ function _relayout(gd, aobj) {
1946
1947
// clear polar view initial stash for radial range so that
1948
// value get recomputed in correct units
1949
- if(fullLayout._subplots.polar && fullLayout[p.parts[0]]) {
+ if(Array.isArray(fullLayout._subplots.polar) && fullLayout._subplots.polar.length && fullLayout[p.parts[0]]) {
1950
delete fullLayout[p.parts[0]]._subplot.viewInitial['radialaxis.range'];
1951
}
1952
0 commit comments