()
| 17 | |
| 18 | @pytest.mark.skip |
| 19 | def test_simple_line(): |
| 20 | fig, ax = plt.subplots() |
| 21 | ax.plot(D["x1"], D["y1"], label="simple") |
| 22 | renderer = run_fig(fig) |
| 23 | for data_no, data_dict in enumerate(renderer.plotly_fig["data"]): |
| 24 | d1, d2 = strip_dict_params( |
| 25 | data_dict, SIMPLE_LINE["data"][data_no], ignore=["uid"] |
| 26 | ) |
| 27 | |
| 28 | equivalent, msg = compare_dict(d1, d2) |
| 29 | assert equivalent, msg |
| 30 | equivalent, msg = compare_dict(renderer.plotly_fig["layout"], SIMPLE_LINE["layout"]) |
| 31 | assert equivalent, msg |
| 32 | |
| 33 | |
| 34 | @pytest.mark.skip |
nothing calls this directly
no test coverage detected