Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Any 'pretty' data visualization libraries for Python? [closed]

Tags:

There are plenty of 'pretty-printing' visualization libraries for Javascript. E.g. those listed here.

Googling for 'python visualization libraries' only turns up stuff like VTK and mayavi, which are primarily more for no-nonsense scientific use.

So, do you know of any Python libraries similar to those Javascript ones in the above link? I particularly like the Javascript Infovis Toolkit.

like image 874
int3 Avatar asked Apr 20 '10 17:04

int3


People also ask

Is there something better than Matplotlib?

Seaborn: Seaborn works with the dataset as a whole and is much more intuitive than Matplotlib. For Seaborn, replot() is the entry API with 'kind' parameter to specify the type of plot which could be line, bar, or many of the other types.

Is bokeh better than Matplotlib?

Matplotlib can create any plot because it is a low-level visualization library. Bokeh can be both used as a high-level or low-level interface; thus, it can create many sophisticated plots that Matplotlib creates but with fewer lines of code and higher resolution.

Is Matplotlib better than Plotly?

Matplotlib is also a great place for new Python users to start their data visualization education, because each plot element is declared explicitly in a logical manner. Plotly, on the other hand, is a more sophisticated data visualization tool that is better suited for creating elaborate plots more efficiently.


2 Answers

For Python there really isn't "one viz library to rule them all". There are different libraries and toolkits for different purposes. For graphs in Python you may find igraph useful. For other types of scientific or data visualizations matplotlib is also good.

like image 166
rlotun Avatar answered Nov 01 '22 16:11

rlotun


Here's a new port of R's ggplot2 over to python. Looks very slick!

https://github.com/yhat/ggplot/

More info here: http://blog.yhathq.com/posts/ggplot-for-python.html


Also have a look at Seaborn, described as "Improved matplotlib for statistical data visualization": https://github.com/mwaskom/seaborn

The Seaborn examples are pretty slick:

Plotting Complex Linear Models

Visualization Distributions

Time Series Visualizations

like image 32
Clay Avatar answered Nov 01 '22 16:11

Clay