Skip to content

Commit dedce2a

Browse files
committed
bugfix
1 parent 4e794d0 commit dedce2a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/traces/histogram/cross_trace_defaults.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,9 @@ module.exports = function crossTraceDefaults(fullData, fullLayout) {
104104

105105
if(traceOut.type === 'histogram') {
106106
var r = coerce('marker.cornerradius', fullLayout.barcornerradius);
107-
traceOut.marker.cornerradius = validateCornerradius(r);
107+
if(traceOut.marker) {
108+
traceOut.marker.cornerradius = validateCornerradius(r);
109+
}
108110
}
109111

110112
// N.B. need to coerce *alignmentgroup* before *bingroup*, as traces

0 commit comments

Comments
 (0)