3 ms·
out of curiosity, how many lines of code do you need in matplotlib to generate http://koaning.io/theme/images/monopoly_plot3.png http://koaning.io/theme/images/
by cantdutchthis 11y ago
out of curiosity, how many lines of code do you need in matplotlib to generate http://koaning.io/theme/images/monopoly_plot3.png http://koaning.io/theme/images/monopoly_plot3.png? in R, you'll only need one. also i have done this work in a python notebook, you can specify R cells to take pandas dataframes allowing you to still use ggplot2 for plotting. see old video of mine: https://www.youtube.com/watch?v=ZW8Aei2wlsM https://www.youtube.com/watch?v=ZW8Aei2wlsM
- rrggrr 11y agoUsing the Python Seaborn library one line sounds about right: http://stanford.edu/~mwaskom/software/seaborn/examples/scatterplot_matrix.html http://stanford.edu/~mwaskom/software/seaborn/examples/scatt...
- cantdutchthis 11y agothats not a facet grid though, in a facet grid you'll have split data across different cells. this is a cross plot across 4 columns. i did find this tho: http://stanford.edu/~mwaskom/software/seaborn/examples/faceted_histogram.html http://stanford.edu/~mwaskom/software/seaborn/examples/facet...