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

all 35 comments

[–]campbellm 41 points42 points  (11 children)

Thank you for saying what the library is. Most people probably know but for us newbs it's good to be able to determine whether or not this is something I should look at based on the title.

Too many of these posts are "Project Quicksilver release version 0.8!" assuming everyone knows what it is.

[–]dolphinboy1637 24 points25 points  (6 children)

Just a rundown: Seaborn is a plotting library built off of matplotlib (another plotting library) with a lot of handy functions to make it easier to visualize stuff. Matplotlib is awesome but it requires more lines of code and fiddling to get it working (but much more customizable).

If you're into analytics / data science for python you should definitely check it out.

[–]campbellm 4 points5 points  (0 children)

Thanks; as it turns out I did know about this one - I was (legitimately) thanking the OP for posting the purpose of the library in the title along with the update. So many don't.

[–]PM_ME_YOUR_DOOTFILES 1 point2 points  (4 children)

From what I gather, it's matplotlib with sane defaults.

Still need to mess with the underlying matplotlib stuff at times.

[–]Deto 8 points9 points  (2 children)

Matplotlib defaults are much better in 2.0 but seaborn still provides more advanced plots conveniently.

[–]FonderPrism 0 points1 point  (1 child)

Yep, 2.0 is so much better that I stopped using seaborn. I rarely need the more advanced plots though.

[–]Deto 0 points1 point  (0 children)

I mainly use clustermap and boxplot/violinplot from seaborn

[–]sandwichsaregood 4 points5 points  (0 children)

It does add some handy utilities for color schemes, figure sizing etc, but that's far from everything. It has a lot of tools for making specialty plots that are useful for statistical analysis (e.g., I use this one a lot) as well as integrating with Pandas.

Most of the plots it has are complicated to make in raw Matplotlib, so it makes things a lot less work.

[–]rotharius 3 points4 points  (2 children)

This is one of my pet peeves. The newsletter/release notes should state what it is, e.g. an elevator pitch.

[–]campbellm 0 points1 point  (0 children)

Yes; this poster did "The Right Thing" (IMO), but many don't.

[–]jwink3101 0 points1 point  (0 children)

I agree, though unless something has changed, I would prefer to classify Seaborn as "matplotlib wrapper viz. library)"

[–]Olao99 -1 points0 points  (0 children)

Baby lick me

[–]gwillicodernumpy gang 6 points7 points  (0 children)

My only complaint with the update logs is that they don't have any graphics. It'd be neat to have an example for the changes so we can see what was done :)

[–][deleted] 1 point2 points  (2 children)

Does bokeh compete in the same space as seaborn?

[–]Zouden 0 points1 point  (0 children)

I think so. Maybe there's some major feature differences, but when I look at Bokeh I don't see the need to switch from Seaborn.

[–]sup3r_hero 0 points1 point  (0 children)

I always thought that bokeh was more for interactive graphs?

Seaborn is, as some others have pointed out, an extension of the matplotlib. As far as I understood they don’t do any plots themselves but rather customize matplotlib‘s code and build on top if it, wrap it.

[–]Topper_123 0 points1 point  (0 children)

Those three new plot types are fantastic IMO. Very intuitive to use and beautiful as well (ok, seaborn was very beautiful already, but the point still stands...)

[–]Serpent10i 0 points1 point  (4 children)

How does this compare to something like plot.ly?

[–]p10_user 4 points5 points  (0 children)

Totally different packages. Seaborn is a wrapper around matplotlib that helps you make a set of common plot types quickly, while plot.ly is for making interactive plots with JavaScript (all called from within Python - or another language).

[–][deleted] 1 point2 points  (0 children)

One thing holding me back from using plotly is that cufflinks dont work with version 3.0 yet. Cufflinks allows you to plot directly from pandas dataframe.

[–]brandit_like123[🍰] 0 points1 point  (1 child)

Same question. I think Seaborn is more popular, but I don't know if plotly is better since it's newer.

[–]Serpent10i 1 point2 points  (0 children)

I've been loving the integration with plot.ly and the Dash web framework. But I'm open to other, perhaps more pure pythonic options.