Args: img: same as in __init__
(self, img)
| 292 | self.reset_image(img) |
| 293 | |
| 294 | def reset_image(self, img): |
| 295 | """ |
| 296 | Args: |
| 297 | img: same as in __init__ |
| 298 | """ |
| 299 | img = img.astype("uint8") |
| 300 | self.ax.imshow(img, extent=(0, self.width, self.height, 0), interpolation="nearest") |
| 301 | |
| 302 | def save(self, filepath): |
| 303 | """ |
no outgoing calls
no test coverage detected