()
| 853 | |
| 854 | // gives 11 buttons in 5 groups by default |
| 855 | function setupGraphInfo() { |
| 856 | var gd = getMockGraphInfo(['x'], ['y']); |
| 857 | gd._fullLayout._basePlotModules = [{ name: 'cartesian' }]; |
| 858 | gd._fullLayout.xaxis = {fixedrange: false}; |
| 859 | gd._fullData = [{type: 'scatter'}]; |
| 860 | return gd; |
| 861 | } |
| 862 | |
| 863 | it('updates mode bar buttons if plot type changes', function() { |
| 864 | var gd = setupGraphInfo(); |
no test coverage detected
searching dependent graphs…