Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
547
def
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
555
def
test_nanscatter():
Callers
nothing calls this directly
Calls
3
subplots
Method · 0.45
bar
Method · 0.45
legend
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…