graphinglib.Figure.set_visual_params#
- Figure.set_visual_params(reset: bool = False, figure_face_color: str | None = None, axes_face_color: str | None = None, axes_edge_color: str | None = None, axes_label_color: str | None = None, axes_line_width: float | None = None, color_cycle: list[str] | None = None, x_tick_color: str | None = None, y_tick_color: str | None = None, legend_face_color: str | None = None, legend_edge_color: str | None = None, font_family: str | None = None, font_size: float | None = None, font_weight: str | None = None, text_color: str | None = None, use_latex: bool | None = None, grid_line_style: str | None = None, grid_line_width: float | None = None, grid_color: str | None = None, grid_alpha: float | None = None)[source]#
Customize the visual style of the
Figure
.Any parameter that is not specified (None) will be set to the default value for the specified
figure_style
.- Parameters:
- resetbool
Whether or not to reset the rc parameters to the default values for the specified
figure_style
. Defaults toFalse
.- figure_face_colorstr
The color of the figure face. Defaults to
None
.- axes_face_colorstr
The color of the axes face. Defaults to
None
.- axes_edge_colorstr
The color of the axes edge. Defaults to
None
.- axes_label_colorstr
The color of the axes labels. Defaults to
None
.- axes_line_widthfloat
The width of the axes lines. Defaults to
None
.- color_cyclelist[str]
A list of colors to use for the color cycle. Defaults to
None
.- x_tick_colorstr
The color of the x-axis ticks. Defaults to
None
.- y_tick_colorstr
The color of the y-axis ticks. Defaults to
None
.- legend_face_colorstr
The color of the legend face. Defaults to
None
.- legend_edge_colorstr
The color of the legend edge. Defaults to
None
.- font_familystr
The font family to use. Defaults to
None
.- font_sizefloat
The font size to use. Defaults to
None
.- font_weightstr
The font weight to use. Defaults to
None
.- text_colorstr
The color of the text. Defaults to
None
.- use_latexbool
Whether or not to use latex. Defaults to
None
.- grid_line_stylestr
The style of the grid lines. Defaults to
None
.- grid_line_widthfloat
The width of the grid lines. Defaults to
None
.- grid_colorstr
The color of the grid lines. Defaults to
None
.- grid_alphafloat
The alpha of the grid lines. Defaults to
None
.