MCPcopy Create free account
hub / github.com/scanny/python-pptx / when_I_call_TextFrame_fit_text

Function when_I_call_TextFrame_fit_text

features/steps/text_frame.py:79–84  ·  view source on GitHub ↗
(context)

Source from the content-addressed store, hash-verified

77
78@when("I call TextFrame.fit_text()")
79def when_I_call_TextFrame_fit_text(context):
80 from helpers import test_file
81
82 font_file = test_file("calibriz.ttf")
83 context.text_frame.fit_text(bold=True, italic=True, font_file=font_file)
84 # context.text_frame.fit_text(font_family='Arial', bold=True, italic=True)
85
86
87# then ====================================================

Callers

nothing calls this directly

Calls 2

test_fileFunction · 0.90
fit_textMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…