Commit f7c5a8e
committed
introduce new colorbar.draw method
- colorbar.draw is now invoked alongside the other
'margin-pusher' components (e.g. legend, updatemenus ...)
- colorbar.draw draws ALL colorbar on a graph, by looping
over the data to find how many colorbars there are
- use d3-update pattern to remove old colorbars
- colorbar.draw handles updates, simplifying doColorbars subroutine
- contour.colorbar defines a 'calc' method to generate its special
colorbar options1 parent 262031c commit f7c5a8e
File tree
6 files changed
+718
-60
lines changed- src
- components
- colorbar
- colorscale
- plot_api
- traces/contour
6 files changed
+718
-60
lines changed
0 commit comments