Created
June 9, 2020 03:50
-
-
Save Keiku/88bf1a467bf1009227a007a46fd9f052 to your computer and use it in GitHub Desktop.
Reset the seaborn setting once set.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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