MCPcopy
hub / github.com/pydata/xarray / text_in_fig

Function text_in_fig

xarray/tests/test_plot.py:87–91  ·  view source on GitHub ↗

Return the set of all text in the figure

()

Source from the content-addressed store, hash-verified

85@pytest.mark.flaky
86@pytest.mark.skip(reason="maybe flaky")
87def text_in_fig() -> set[str]:
88 """
89 Return the set of all text in the figure
90 """
91 return {t.get_text() for t in plt.gcf().findobj(mpl.text.Text)}
92
93
94def find_possible_colorbars() -> list[mpl.collections.QuadMesh]:

Callers 11

test_no_labelsMethod · 0.85
test_colorbar_kwargsMethod · 0.85
test_no_argsMethod · 0.85
test_robustMethod · 0.85
test_map_datasetMethod · 0.85
test_set_axis_labelsMethod · 0.85
test_set_axis_labelsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…