MCPcopy Create free account
hub / github.com/TonyLianLong/LLM-groundedDiffusion / visualize

Function visualize

utils/vis.py:11–17  ·  view source on GitHub ↗
(image, title, colorbar=False, show_plot=True, **kwargs)

Source from the content-addressed store, hash-verified

9
10
11def visualize(image, title, colorbar=False, show_plot=True, **kwargs):
12 plt.title(title)
13 plt.imshow(image, **kwargs)
14 if colorbar:
15 plt.colorbar()
16 if show_plot:
17 plt.show()
18
19
20def visualize_arrays(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected