python seaborn to reset back to the matplotlib

user3287545 picture user3287545 · Nov 13, 2014 · Viewed 24.4k times · Source

I'm using seaborn version o.4 and matplotlib version 1.42 I have a chart displays both line and marker through simple plot command eg.

plt.plot([1,5,3,8,4],'-bo');

Due to a potential bug (https://github.com/mwaskom/seaborn/issues/344), after import seaborn, same code shows line only without marker.

import seaborn as sb 
plt.plot([1,5,3,8,4],'-bo');

So my question is: after import seaborn, Is there a way to reset all the parameters back to original?

Answer

mwaskom picture mwaskom · Nov 13, 2014

Yes, call seaborn.reset_orig.