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

Function _blit

lib/matplotlib/backends/_backend_tk.py:84–95  ·  view source on GitHub ↗

Thin wrapper to blit called via tkapp.call. *argsid* is a unique string identifier to fetch the correct arguments from the ``_blit_args`` dict, since arguments cannot be passed directly.

(argsid)

Source from the content-addressed store, hash-verified

82
83
84def _blit(argsid):
85 """
86 Thin wrapper to blit called via tkapp.call.
87
88 *argsid* is a unique string identifier to fetch the correct arguments from
89 the ``_blit_args`` dict, since arguments cannot be passed directly.
90 """
91 photoimage, data, offsets, bbox, comp_rule = _blit_args.pop(argsid)
92 if not photoimage.tk.call("info", "commands", photoimage):
93 return
94 _tkagg.blit(photoimage.tk.interpaddr(), str(photoimage), data, comp_rule, offsets,
95 bbox)
96
97
98def blit(photoimage, aggimage, offsets, bbox=None):

Callers

nothing calls this directly

Calls 2

popMethod · 0.45
blitMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…