Using Altair for most of my visualization in Python
61–70 of 75 posts
Re: Using Altair for most of my visualization in Python
#62In the grand scheme of things it's a minor gripe, but I really dislike APIs that encourage chaining of calls like `alt.Chart(data).mark_circle(size=200).encode(...)` from the article. This is found in many other libraries, especially JavaScript ones like e.g. jQuery. I know it's compact, but it makes it harder to see what's going on and hides the fact that all of the operations are actually being applied to the leftm…
Re: Using Altair for most of my visualization in Python
#63The 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.
EDIT: Spelling.
Re: Using Altair for most of my visualization in Python
#64Re: Using Altair for most of my visualization in Python
#65People don't care anymore how they name their projects. :-(
Re: Using Altair for most of my visualization in Python
#66As part of our work, we create data dashboards. We use NumPy and Pandas to analyze data, either Flask or Django as a framework, and HighCharts for interactive charts. The JS charting library has a variety of charts to meet our needs. Our input stored either as SQL or CSV is dynamic data. I am beginning to wonder if HighCharts is replaceable with a fully open-source charting library.
Here a guide we've written for an app where you can drag and drop a file and get a chart from it.
https://kyso.io/KyleOS/creating-an-interactive-application-u...
But you can extend to take an SQL query or maybe to set up an external api call.
Re: Using Altair for most of my visualization in Python
#67What visualization library are you using in Python?
Re: Using Altair for most of my visualization in Python
#68I'm looking for an interactive visualization tool that I could have site visitors access via a github blog page. Does Altair manage client-side processing? I'm still pretty new in the search but like Altair's adoption of Vega-lite.
https://towardsdatascience.com/publish-data-science-articles...
[1] Disclaimer: I'm the CEO of Kyso
Re: Using Altair for most of my visualization in Python
#69https://github.com/sirrice/pygg provides the ggplot2 syntax in Python as a wrapper around Wickham's R implementation. It is useful if you 1) want the R syntax, 2) program in Python, 3) just want static plots.
Re: Using Altair for most of my visualization in Python
#70How is Altair on 3D data? I see no examples of this. Matplotlib is decent here (apart from all the same disadvantages the author lays out), but the default options look kinda fugly.