MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / set_fontstyle

Method set_fontstyle

lib/matplotlib/text.py:1255–1268  ·  view source on GitHub ↗

Set the font style. Parameters ---------- fontstyle : {'normal', 'italic', 'oblique'} See Also -------- .font_manager.FontProperties.set_style

(self, fontstyle)

Source from the content-addressed store, hash-verified

1253 self.stale = True
1254
1255 def set_fontstyle(self, fontstyle):
1256 """
1257 Set the font style.
1258
1259 Parameters
1260 ----------
1261 fontstyle : {'normal', 'italic', 'oblique'}
1262
1263 See Also
1264 --------
1265 .font_manager.FontProperties.set_style
1266 """
1267 self._fontproperties.set_style(fontstyle)
1268 self.stale = True
1269
1270 def set_fontsize(self, fontsize):
1271 """

Callers 1

findobj_demo.pyFile · 0.80

Calls 1

set_styleMethod · 0.80

Tested by

no test coverage detected