(histtype, zorder)
| 2623 | ("step", mpl.lines.Line2D.zorder), |
| 2624 | ("stepfilled", mpl.patches.Patch.zorder)]) |
| 2625 | def test_hist_zorder(histtype, zorder): |
| 2626 | ax = plt.figure().add_subplot() |
| 2627 | ax.hist([1, 2], histtype=histtype) |
| 2628 | assert ax.patches |
| 2629 | for patch in ax.patches: |
| 2630 | assert patch.get_zorder() == zorder |
| 2631 | |
| 2632 | |
| 2633 | def test_hist_single_color_multiple_datasets(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…