(sliderOpts)
| 31 | .style('cursor', staticPlot ? null : 'ew-resize'); |
| 32 | |
| 33 | function clearSlider(sliderOpts) { |
| 34 | if(sliderOpts._commandObserver) { |
| 35 | sliderOpts._commandObserver.remove(); |
| 36 | delete sliderOpts._commandObserver; |
| 37 | } |
| 38 | |
| 39 | // Most components don't need to explicitly remove autoMargin, because |
| 40 | // marginPushers does this - but slider updates don't go through |
| 41 | // a full replot so we need to explicitly remove it. |
| 42 | Plots.autoMargin(gd, autoMarginId(sliderOpts)); |
| 43 | } |
| 44 | |
| 45 | sliders.exit().each(function() { |
| 46 | d3.select(this).selectAll('g.' + constants.groupClassName) |
nothing calls this directly
no test coverage detected
searching dependent graphs…