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

Function test_cross_figure_patch_legend

lib/matplotlib/tests/test_legend.py:547–552  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

545
546
547def test_cross_figure_patch_legend():
548 fig, ax = plt.subplots()
549 fig2, ax2 = plt.subplots()
550
551 brs = ax.bar(range(3), range(3))
552 fig2.legend(brs, 'foo')
553
554
555def test_nanscatter():

Callers

nothing calls this directly

Calls 3

subplotsMethod · 0.45
barMethod · 0.45
legendMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…