()
| 18 | |
| 19 | @pytest.mark.skip |
| 20 | def test_vertical_bar(): |
| 21 | fig, ax = plt.subplots() |
| 22 | ax.bar(left=D["left"], height=D["height"]) |
| 23 | renderer = run_fig(fig) |
| 24 | |
| 25 | for data_no, data_dict in enumerate(renderer.plotly_fig["data"]): |
| 26 | d1, d2 = strip_dict_params( |
| 27 | data_dict, VERTICAL_BAR["data"][data_no], ignore=["uid"] |
| 28 | ) |
| 29 | |
| 30 | equivalent, msg = compare_dict(d1, d2) |
| 31 | assert equivalent, msg |
| 32 | |
| 33 | equivalent, msg = compare_dict( |
| 34 | renderer.plotly_fig["layout"], VERTICAL_BAR["layout"] |
| 35 | ) |
| 36 | assert equivalent, msg |
| 37 | |
| 38 | |
| 39 | @pytest.mark.skip |
nothing calls this directly
no test coverage detected