Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/lincolnloop/python-qrcode
/ drawrect
Method
drawrect
qrcode/image/pil.py:46–48 ·
view source on GitHub ↗
(self, row, col)
Source
from the content-addressed store, hash-verified
44
return
img
45
46
def
drawrect(self, row, col):
47
box = self.pixel_box(row, col)
48
self._idr.rectangle(box, fill=self.fill_color)
49
50
def
save(self, stream, format=None, **kwargs):
51
kind = kwargs.pop(
"kind"
, self.kind)
Callers
1
make_image
Method · 0.45
Calls
1
pixel_box
Method · 0.80
Tested by
no test coverage detected