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 9a17d8a commit 37f9d6fCopy full SHA for 37f9d6f
1 file changed
src/traces/quiver/defaults.js
@@ -68,6 +68,9 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout
68
coerce('vhoverformat');
69
70
// Colorscale defaults (adds colorscale, showscale, colorbar, etc.)
71
+ // Ensure traceOut.marker exists before colorscaleDefaults, which captures
72
+ // a reference to it via npMaybe at the start of its execution.
73
+ if(!traceOut.marker) traceOut.marker = {};
74
coerce('marker.color');
75
var withColorscale = hasColorscale(traceIn, 'marker') || (traceIn.marker || {}).coloraxis;
76
traceOut._hasColorscale = !!withColorscale;
0 commit comments