MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / test_hist_bar_empty

Function test_hist_bar_empty

lib/matplotlib/tests/test_axes.py:2510–2513  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2508
2509@image_comparison(['hist_bar_empty.png'], remove_text=True, style='_classic_test')
2510def test_hist_bar_empty():
2511 # From #3886: creating hist from empty dataset raises ValueError
2512 ax = plt.gca()
2513 ax.hist([], histtype='bar')
2514
2515
2516def test_hist_float16():

Callers

nothing calls this directly

Calls 2

gcaMethod · 0.80
histMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…