MCPcopy Index your code
hub / github.com/python-openxml/python-docx / when_add_picture_specifying_width

Function when_add_picture_specifying_width

features/steps/document.py:133–135  ·  view source on GitHub ↗
(context)

Source from the content-addressed store, hash-verified

131
132@when("I add a picture specifying a width of 1.5 inches")
133def when_add_picture_specifying_width(context):
134 document = context.document
135 context.picture = document.add_picture(test_file("monty-truth.png"), width=Inches(1.5))
136
137
138@when("I add a picture specifying only the image file")

Callers

nothing calls this directly

Calls 3

test_fileFunction · 0.90
InchesClass · 0.90
add_pictureMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…