MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / __str__

Method __str__

lib/matplotlib/image.py:292–297  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

290 self._internal_update(kwargs)
291
292 def __str__(self):
293 try:
294 shape = self.get_shape()
295 return f"{type(self).__name__}(shape={shape!r})"
296 except RuntimeError:
297 return type(self).__name__
298
299 def __getstate__(self):
300 # Save some space on the pickle by not saving the cache.

Callers

nothing calls this directly

Calls 1

get_shapeMethod · 0.95

Tested by

no test coverage detected