MCPcopy Index your code
hub / github.com/plotly/plotly.py / draw_image

Method draw_image

plotly/matplotlylib/mplexporter/exporter.py:309–317  ·  view source on GitHub ↗

Process a matplotlib image object and call renderer.draw_image

(self, ax, image)

Source from the content-addressed store, hash-verified

307 )
308
309 def draw_image(self, ax, image):
310 """Process a matplotlib image object and call renderer.draw_image"""
311 self.renderer.draw_image(
312 imdata=utils.image_to_base64(image),
313 extent=image.get_extent(),
314 coordinates="data",
315 style={"alpha": image.get_alpha(), "zorder": image.get_zorder()},
316 mplobj=image,
317 )

Callers 1

crawl_axMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected