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

Function test_hist_log_barstacked

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

Source from the content-addressed store, hash-verified

2482
2483
2484def test_hist_log_barstacked():
2485 fig, axs = plt.subplots(2)
2486 axs[0].hist([[0], [0, 1]], 2, histtype="barstacked")
2487 axs[0].set_yscale("log")
2488 axs[1].hist([0, 0, 1], 2, histtype="barstacked")
2489 axs[1].set_yscale("log")
2490 fig.canvas.draw()
2491 assert axs[0].get_ylim() == axs[1].get_ylim()
2492
2493
2494def test_hist_timedelta_raises():

Callers

nothing calls this directly

Calls 5

histMethod · 0.80
subplotsMethod · 0.45
set_yscaleMethod · 0.45
drawMethod · 0.45
get_ylimMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…