(msg, expText, expColor)
| 724 | }); |
| 725 | |
| 726 | function _assertTitle(msg, expText, expColor) { |
| 727 | var title = d3Select('.titletext > text'); |
| 728 | expect(title.text()).toBe(expText, msg + ' text'); |
| 729 | expect(title.node().style.fill).toBe(expColor, msg + ' color'); |
| 730 | } |
| 731 | |
| 732 | it('show a user-defined title with a custom position and font', function(done) { |
| 733 | Plotly.newPlot(gd, [{ |
no outgoing calls
no test coverage detected
searching dependent graphs…