seaborn.
set_context
(context=None, font_scale=1, rc=None)¶Set the plotting context parameters.
This affects things like the size of the labels, lines, and other elements of the plot, but not the overall style. The base context is “notebook”, and the other contexts are “paper”, “talk”, and “poster”, which are version of the notebook parameters scaled by .8, 1.3, and 1.6, respectively.
Parameters: | context : dict, None, or one of {paper, notebook, talk, poster}
font_scale : float, optional
rc : dict, optional
|
---|
See also
plotting_context
with
statement to temporarily set the context.set_style
set_palette
Examples
>>> set_context("paper")
>>> set_context("talk", font_scale=1.4)
>>> set_context("talk", rc={"lines.linewidth": 2})