seaborn.set_context

E431016

seaborn.set_context is a Seaborn function that scales plot elements to suit different presentation contexts such as papers, notebooks, talks, or posters.

All labels observed (1)

Label Occurrences
seaborn.set_context canonical 1

How this entity was disambiguated

Statements (44)

Predicate Object
instanceOf Python function
Seaborn API function
affects matplotlib rcParams NERFINISHED
category visualization configuration function
contextLevel(notebook) medium base element sizes
contextLevel(paper) smallest base element sizes
contextLevel(poster) largest base element sizes
contextLevel(talk) larger base element sizes
defaultValue(context) paper
defaultValue(font_scale) 1
defaultValue(rc) None
definedIn seaborn.rcmod module
hasParameter context
font_scale
rc
hasPurpose scale plot elements for different presentation contexts
influences axes label sizes
font sizes
line widths
tick label sizes
title sizes
introducedFor consistent styling across different output media
parameterType(context) str or dict
parameterType(font_scale) float
parameterType(rc) dict or None
partOf seaborn
programmingLanguage Python
relatedTo seaborn.set_style
seaborn.set_theme
returns None
scope affects subsequent plots until context is changed again
sideEffect changes default sizes of labels and lines
changes default sizes of ticks and titles
modifies global plotting context
supportsContext notebook
paper
poster
talk
threadSafety not thread-safe due to global rcParams modification
typicalUse control visual emphasis of Seaborn and Matplotlib plots
usageExample seaborn.set_context('paper', font_scale=1.5)
seaborn.set_context('talk')
worksWith matplotlib.axes.Axes
matplotlib.figure.Figure

How these facts were elicited

Referenced by (1)

Full triples — surface form annotated when it differs from this entity's canonical label.

sns providesAccessTo seaborn.set_context