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.
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.
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.
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.
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.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With