def fit_text(self, font_family='Calibri', max_size=18, bold=False,
                 italic=False, font_file=None):
        font_size = self._best_fit_font_size(
            font_family, max_size, bold, italic, font_file
        )
        self._apply_fit(font_family, font_size, bold, italic)
Make the text in this textframe fit entirely within the bounds of its
dataset/ETHPy150Open scanny/python-pptx/pptx/text/text.py/TextFrame.fit_text