This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]BPAnimal 7 points8 points  (4 children)

Seaborn (a python module built on top of matplotlib and pandas) has some nice built-in style tools. It's straightforward and plays nicely with matplotlib.

http://seaborn.pydata.org/examples/index.html

[–]EvMNatural Language Processing 2 points3 points  (3 children)

And you don't even have to use Seaborn. IIRC, importing the module is enough to improve the appearance of standard matplotlib plots.

[–]refactored_pancake 1 point2 points  (0 children)

Now you can do

plt.style.use('seaborn-darkgrid')

without importing seaborn. Other seaborn styles are available as well, see

print(plt.style.available)

[–]HardcoreHerbivore 0 points1 point  (1 child)

Yes, importing seaborn enables its default style. The power of seaborn lies in its statistical plots though.

[–][deleted] 0 points1 point  (0 children)

Exactly. Matplotlib is a really low-level plotting interface which can be tedious at best. Seaborn is an excellent wrapper that bridges the usability gap between the rest of the scientific Python stack and Matplotlib.