3

Attached below are two plots. The only difference in the script that produced them is that the second one had an additional line:

import seaborn as sns

I am not setting any seaborn style yet. Just importing seaborn is changing plot style though, even in plots not using seaborn. Is there any way I can import seaborn (to be used in other plots), and not have the style changed for plots that do not use it?

user308827
  • 21,227
  • 87
  • 254
  • 417

1 Answers1

6

Check this

import seaborn.apionly as sns or from seaborn.apionly import lmplot

http://stanford.edu/~mwaskom/software/seaborn/whatsnew.html

Ibrahim Buamod
  • 114
  • 1
  • 7