MCPcopy Create free account
hub / github.com/OpenBMB/AgentCPM-GUI / reset_image

Method reset_image

eval/utils/utils_odyssey/tokenization_qwen.py:519–521  ·  view source on GitHub ↗
(self, img)

Source from the content-addressed store, hash-verified

517 self.reset_image(img)
518
519 def reset_image(self, img):
520 img = img.astype("uint8")
521 self.ax.imshow(img, extent=(0, self.width, self.height, 0), interpolation="nearest")
522
523 def save(self, filepath):
524 self.fig.savefig(filepath)

Callers 1

_setup_figureMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected