Live data from Hacker News

Using Altair for most of my visualization in Python

fernandoi.cl

71–75 of 75 posts

Re: Using Altair for most of my visualization in Python

#71
post #65

Expected some interface to an Altair computer and blinking lights. People don't care anymore how they name their projects. :-(

Altair here is a play on the underlying library called Vega. They're both stars in the "Summer Triangle" https://en.wikipedia.org/wiki/Summer_Triangle

Re: Using Altair for most of my visualization in Python

#72
Plotly Express (https://plotly.express/) is a new high-level wrapper on top of Plotly.py which gives a similar API to Altair in a lot of ways.

Under the hood it works the same way: Plotly.py generates JSON figure descriptions which are passed to Plotly.js for rendering.

The whole thing is, of course, free and open-source and well-documented :)

Re: Using Altair for most of my visualization in Python

#73
post #65

Expected some interface to an Altair computer and blinking lights. People don't care anymore how they name their projects. :-(

Altair here is a play on the underlying library called Vega. They're both stars in the "Summer Triangle" https://en.wikipedia.org/wiki/Summer_Triangle

People don't call their programs IBM or Apple.

How about a JavaScript library to extract the second to last character of a string and call in Commodore Amiga 3000?

Re: Using Altair for most of my visualization in Python

#74

Excellent visualizations! Could you share the code used to create your last sample chart?

This example gives you the main structure: https://altair-viz.github.io/gallery/ranged_dot_plot.html. Let me know if you need the specific code for that visualization, happy to share it.

Re: Using Altair for most of my visualization in Python

#75
post #31

The problem with all these nice new visualization libraries for Python, is that they all (at least the shinny nice ones) fail totally short when it comes to do B&W graphics for journal publications. Things like filling patterns, line patterns etc, are mostly missing. I still use Matplotlib and I can make it look beautiful and exactly how I want... it's just a lot more work to get the shinny bits.

It is a great package. Two disadvantages are that the interfacte is not very pythonic and that there is no interactivity.
Post reply on HN