(msg, expText, expColor)
| 519 | }); |
| 520 | |
| 521 | function _assertTitle(msg, expText, expColor) { |
| 522 | var title = d3Select('.titletext > text'); |
| 523 | expect(title.text()).toBe(expText, msg + ' text'); |
| 524 | expect(title.node().style.fill).toBe(expColor, msg + ' color'); |
| 525 | } |
| 526 | |
| 527 | it('show a user-defined title with a custom position and font', function(done) { |
| 528 | Plotly.newPlot(gd, [{ |
no outgoing calls
no test coverage detected
searching dependent graphs…