Description
Setting colorbar
parameters doesn't appear to work in layout.template.data.{trace_type}[i].{line|marker}
.
Related: #3100 (comment), to quote @etpinard:
As for the colorbar part, the problem comes from the colorbar defaults call:
where
containerOut
isfullData[i]
for heatmap, but isfullData[i].marker
for scatter and other marker colorscales. Colorbar templates propagate correctly (usingTemplate.newContainer
) fromfullData[i]
, but not from marker containers. Addingshould be enough to fix this, but we should look for other situations where supply-defaults subroutines are called with trace sub-containers.
I'm not sure the above suggested fix was ever implemented.
This codepen demonstrates the issue with ypad
:
https://codepen.io/wbrgss/pen/NWPXEPG