A Tour of Python’s Data Visualization Landscape, Including Ggplot and Altair
dansaber.wordpress.com
dansaber.wordpress.com
In R we have a neat Library that really shows the simplicity of called dplyr. If you just look at this little vignette I think you will see the simplicity we are moving in as a language.
I started in Python and then Pandas and moved to R and haven't looked back.
R vs Python is really just a personal experience. They are both great choices. I just like the R world more and the way everything can be integrated with each other. For example the Hadley Wickham Universe of Libraries.
Example:
https://en.wikipedia.org/wiki/ROOT#/media/File:CMS_ROOT_plot...
Fun fact: there is a Jupyter kernel for it!
Hmm, I never even considered that matplotlib was some sort of high-end powertool. At least not when using the old-fashioned MATLABish API. If the advantage of the competition is that they are supposed to be easier to use, then I will stick with matplotlib.
How would you go about the bar-plot example in this post (first example in Scene 5)? And how would you go about expanding to to have 1 more bar in each group?
I find this to be something I want to look at quickly, to judge my data and judge if it is something I need to look at, and fiddling with hard-coded spacing and line widths is not the way to get anything done quickly.
So I am generally curious how you go about it in a way that is easy enough for "easier" not to be worth your while.
I see a lot of comments saying matplotlib is easy to use. It isn't. If you have to write a for loop to iterate over your data to make a bar chart where you define the x and y by hand, that's not as easy as it should be. If you have to write a library to use your library, it's overkill for most plotting. For that kind of power, I'd do it in javascript with d3js so I get css for the styling and a much easier path to interactivity.
http://nbviewer.jupyter.org/github/vidalab/vida-notebook/blo...
Disclaimer: I work at vida.io.
It's better suited to scientific-style graphs than such things as bar- or pie-charts, but it can be cajoled into making those, too.
There is some advantage to decoupling your visualization task from the rest of your computation.
Do you have any suggestion on a lib that generates high quality images?
How do you go about plotting things that aren't in a data frame? And how do you customise your plots?
http://stanford.edu/~mwaskom/software/seaborn/generated/seab...
I'd love to see a quick comparison post like this for millions of points.
Would it be easier to plot with JavaScript? I have the two options.
Unless you're making a 1000' x 1000' display representing our understanding of remote galaxies, chances are there's a few conceptual simplifications that can be taken before rendering the visualization.