Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Reset the seaborn setting once set.
# Reset the seaborn setting once set. It can be used in the middle of a notebook.
# Reference: python seaborn to reset back to the matplotlib - Stack Overflow https://stackoverflow.com/questions/26899310/python-seaborn-to-reset-back-to-the-matplotlib
# Either of the following may be used
# in matplotlib
import matplotlib as mpl
mpl.rcParams.update(mpl.rcParamsDefault)
# in seaborn
import seaborn as sns
sns.reset_orig()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.