test that eventplot produces the correct output given the default params (see bug #3728)
()
| 5472 | @image_comparison(['test_eventplot_defaults.png'], remove_text=True, |
| 5473 | style='_classic_test') |
| 5474 | def test_eventplot_defaults(): |
| 5475 | """ |
| 5476 | test that eventplot produces the correct output given the default params |
| 5477 | (see bug #3728) |
| 5478 | """ |
| 5479 | np.random.seed(0) |
| 5480 | |
| 5481 | data1 = np.random.random([32, 20]).tolist() |
| 5482 | data2 = np.random.random([6, 20]).tolist() |
| 5483 | data = data1 + data2 |
| 5484 | |
| 5485 | fig = plt.figure() |
| 5486 | axobj = fig.add_subplot() |
| 5487 | axobj.eventplot(data) |
| 5488 | |
| 5489 | |
| 5490 | @pytest.mark.parametrize(('colors'), [ |
nothing calls this directly
no test coverage detected
searching dependent graphs…