Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crosslink to aesthetics tutorial from set_context/plotting_context #3599

Merged
merged 2 commits into from
Dec 22, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions seaborn/rcmod.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,9 +336,8 @@ def plotting_context(context=None, font_scale=1, rc=None):
"""
Get the parameters that control the scaling of plot elements.

This affects things like the size of the labels, lines, and other elements
of the plot, but not the overall style. This is accomplished using the
matplotlib rcParams system.
These parameters correspond to label size, line thickness, etc. For more
information, see the :doc:`aesthetics tutorial <../tutorial/aesthetics>`.

The base context is "notebook", and the other contexts are "paper", "talk",
and "poster", which are version of the notebook parameters scaled by different
Expand Down Expand Up @@ -437,9 +436,9 @@ def set_context(context=None, font_scale=1, rc=None):
"""
Set the parameters that control the scaling of plot elements.

This affects things like the size of the labels, lines, and other elements
of the plot, but not the overall style. This is accomplished using the
matplotlib rcParams system.
These parameters correspond to label size, line thickness, etc.
Calling this function modifies the global matplotlib `rcParams`. For more
information, see the :doc:`aesthetics tutorial <../tutorial/aesthetics>`.

The base context is "notebook", and the other contexts are "paper", "talk",
and "poster", which are version of the notebook parameters scaled by different
Expand Down
Loading