graphinglib.SmartFigure.set_rc_params#

SmartFigure.set_rc_params(rc_params_dict: dict[str, str | float] = {}, reset: bool = False) Self[source]#

Customize the visual style of the SmartFigure.

Any rc parameter that is not specified in the dictionary will be set to the default value for the specified figure_style.

Parameters:
rc_params_dictdict[str, str | float], optional

Dictionary of rc parameters to update. Defaults to empty dictionary.

resetbool, optional

If True, resets all previously set rc parameters to their default values for the specified figure_style before applying the new parameters. Defaults to False.

Returns:
Self

For convenience, the same SmartFigure with the updated rc parameters.