Description
Hey Plotly team,
Small bug - sometimes, depending on the layout's height/vertical margins, one of the colorbar's .cbfill
will get drawn outside the outline (see http://codepen.io/hellochar/pen/JREjyv):
Looks like it's only off by 1 pixel:
It is a noticeable artifact that sometimes appears in our charts. Any ideas what's going on here? Happy to submit a PR as well if someone could help me understand the code at
https://github.com/plotly/plotly.js/blob/master/src/components/colorbar/draw.js#L348
Thanks,
Xiaohan