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

Method get_image_magnification

lib/matplotlib/backend_bases.py:430–436  ·  view source on GitHub ↗

Get the factor by which to magnify images passed to `draw_image`. Allows a backend to have images at a different resolution to other artists.

(self)

Source from the content-addressed store, hash-verified

428 gc0.restore()
429
430 def get_image_magnification(self):
431 """
432 Get the factor by which to magnify images passed to `draw_image`.
433 Allows a backend to have images at a different resolution to other
434 artists.
435 """
436 return 1.0
437
438 def draw_image(self, gc, x, y, im, transform=None):
439 """

Callers 2

drawMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected