()
| 38 | |
| 39 | @pytest.mark.skip |
| 40 | def test_horizontal_bar(): |
| 41 | fig, ax = plt.subplots() |
| 42 | ax.barh(bottom=D["bottom"], width=D["width"]) |
| 43 | renderer = run_fig(fig) |
| 44 | |
| 45 | for data_no, data_dict in enumerate(renderer.plotly_fig["data"]): |
| 46 | d1, d2 = strip_dict_params( |
| 47 | data_dict, HORIZONTAL_BAR["data"][data_no], ignore=["uid"] |
| 48 | ) |
| 49 | |
| 50 | equivalent, msg = compare_dict(d1, d2) |
| 51 | assert equivalent, msg |
| 52 | |
| 53 | equivalent, msg = compare_dict( |
| 54 | renderer.plotly_fig["layout"], HORIZONTAL_BAR["layout"] |
| 55 | ) |
| 56 | assert equivalent, msg |
| 57 | |
| 58 | |
| 59 | @pytest.mark.skip |
nothing calls this directly
no test coverage detected