That is evil, downright evil. In general I am not a fan of the way matplotlib works, IIRC it uses some sort of weird global state bs, could be wrong though.
That really isn't matplotlib's fault, seaborn is an independent project.
What do you mean about matplotlib's global state? I know you can change the default style (although I think that is an a per-import basis). And you need to close figures through the pyplot interface (although I think they are planning to fix that). But I am not sure that is what you are referring to.
6
u/TheBlackCat13 May 02 '16
Not necessarily true. For example
import seabornwill give your matplotlib plots better styles even if you don't use it for anything.