Please change to `if title_font is None:`.