Which is more useful - Seaborn or Matplotlib?
3
1
Entering edit mode
6.4 years ago
Hussain Ather ▴ 990

Which is used more frequently in bioinformatics and which is more useful? Which one has more useful statistical tools or better aesthetics?

matplotlib seaborn python • 1.3k views
ADD COMMENT
1
Entering edit mode
6.4 years ago

Seaborn uses matplotlib under the hood, rendering your question irrelevant. Seaborn is nice and provides a convenient way to use complicated matplotlib features. I use it quite often, but for very specific customization you'll need matplotlib functions on top of your seaborn plot.

Neither of them is designed for statistical testing, although it interacts with other statistical packages.

ADD COMMENT
1
Entering edit mode
6.4 years ago

While matplotlib is used more frequently, this is mostly due to it being much older (after all, as WouterDeCoster said, searborn uses it). Having said that, I wouldn't start a new project with matplotlib only. Seaborn's plots both look nicer by default and in the end can be tweaked the same way as matplotlib.

You didn't mention plotly, which is too bad. As long as you're not trying to make large heatmaps or anything too overly complicated then it's relatively easy to use and looks nice. If it's useful in deciding, I was able to reimplement all graphical output from deepTools in plotly in about a week, so you can do standard stuff relatively easily.

ADD COMMENT
0
Entering edit mode
6.4 years ago
shoujun.gu ▴ 380

please read seaborn introduction:

https://seaborn.pydata.org/introduction.html#introduction

ADD COMMENT

Login before adding your answer.

Traffic: 1663 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6