register_fonts(*args, user=True, default=False)[source]

Register font names.

  • *args (path-like, optional) – The font files to add. By default, if positional arguments are passed, then user is set to False. Files must have the extensions .ttf or .otf. See this link for a guide on converting other font files to .ttf and .otf.

  • user (bool, optional) – Whether to reload fonts from user_folder. Default is False if positional arguments were passed and True otherwise.

  • default (bool, optional) – Whether to reload the default fonts packaged with proplot. Default is always False.