MCPcopy Index your code
hub / github.com/pydata/xarray / find_possible_colorbars

Function find_possible_colorbars

xarray/tests/test_plot.py:94–96  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

92
93
94def find_possible_colorbars() -> list[mpl.collections.QuadMesh]:
95 # nb. this function also matches meshes from pcolormesh
96 return plt.gcf().findobj(mpl.collections.QuadMesh)
97
98
99def substring_in_axes(substring: str, ax: mpl.axes.Axes) -> bool:

Callers 6

test_plot_rgb_imageMethod · 0.85
test_plot_rgb_facetedMethod · 0.85
test_colorbarMethod · 0.85
test_map_datasetMethod · 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…