-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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:
if(showScale) colorbarDefaults(containerIn, containerOut, layout); where
containerOutisfullData[i]for heatmap, but isfullData[i].markerfor 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
