register_fonts¶
- register_fonts(*args, user=True, default=False)[source]¶
Register font names.
- Parameters
*args (path-like, optional) – The font files to add. By default, if positional arguments are passed, then
useris set toFalse. Files must have the extensions.ttfor.otf. See this link for a guide on converting other font files to.ttfand.otf.user (
bool, optional) – Whether to reload fonts fromuser_folder. Default isFalseif positional arguments were passed andTrueotherwise.default (
bool, optional) – Whether to reload the default fonts packaged with proplot. Default is alwaysFalse.