3 ms·
I needed jupyter as a medium of information sharing in my team but matplotlib has just too much of a learning curve to expect everyone to adopt it as tribal kno
by pweissbrod 9y ago
I needed jupyter as a medium of information sharing in my team but matplotlib has just too much of a learning curve to expect everyone to adopt it as tribal knowledge considering this was not a core part of their job. I found a compromise using the wonderful jupyter_pivottablejs library:
https://github.com/nicolaskruchten/jupyter_pivottablejs https://github.com/nicolaskruchten/jupyter_pivottablejs
Thus allowing you to tweak visualizations on the fly without touching code. My workflow is:
sql -> dataframe -> pivottable
This is not a dig at matplotlib which is undeniably powerful. More like an alternative for those of us that want to convey good-enough flexible interactive visualizations without getting into the minutia with matplotlib
- thearn4 9y agoI've commented on this before, but matplotlib is sort of stuck between a rock and a hard place of supporting the cruft of MATLAB plotting syntax, and trying to be pythonic. I'm still a big fan of it because I've grown with it, but I also don't expect that it is the future of python technical plotting. Its more domain-specific, but I do like the seaborn library.
- makmanalp 9y agoThis is brilliant! I always say that matplotlib is more of a low-level charting API - you can do whatever you need, but it'll take a long time and a lot of code. Better is stuff like seaborn, pandas' charting support, and the new ggplot port and altair. Also underutilized is pandas' to_excel, to_clipboard stuff where you can then transfer to whatever application and back for editing / graphing purposes IMHO.
- ocschwar 9y agoThose of us who like matplotlib like it because we got into those minutia with Matlab many years before. If you've not had to endure that hazing ritual, then yes, there are better options.