[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


Is polars + plotnine currently the best tool on Earth for complex plotting? Or does the crown still go to the tidyverse?
>>
I dropped ggplot like a rock for it's obnoxious ideological limitations. Sometimes I need to draw two series on the same plot and I am not interested in fighting the library for it or reading some redditor quote Tufte at me when he tells me I don't need to, actually.

The whole grammar idea is the biggest autist-bait. It really sounds like a good idea to start with and I can see how they ended up going hard on it but it's only actually good for medium-simple applications. It's too complex for very simple plots and it's too much of a pain in the ass to contort it into very complex plots. At some point you're better off just imperatively adding stuff to axes or hell even just drawing it manually in publisher for one offs.
>>
>>107833389
That's an interesting opinion. What is your preferred plotting library these days?
>>
>>107832613
Polars+plotnine excels in speed for large datasets and Python integration. The tidyverse retains the crown for ecosystem maturity, seamless grammar, and breadth of statistical plotting. The "best" depends entirely on whether your workflow is Python or R-centric.
>>
>>107833389
It's not a big deal to pipe through melt and you retain all the other flexibility of ggplot. Procedural plotting always becomes a giant fucking mess.
I'd agree that if you're making a few very important charts for publication you should be as manual as possible, but actual investigations involve a lot of adhoc plotting and every python solution I've tried is shit for that. In the time you polished up one beautiful python plot (using matplotlib's ugly api because everything else has limitations) the guy with ggplot made 100 different cross sections and filters to understand every nuance of your dataset. tidyverse still mogs
Polars vs data.table is a harder question though, polars is so nice as an api but somehow data.table ends up getting shit done faster for most uses
>>
I expect python libraries to get better more than R libraries because data science is going to be increasingly focused on ML more than any other field and python, mostly by accident than anything, ate R's lunch when it comes to doing ML
>>
>>107834660
Didn't post image.
>>
>>107834660
If it was that simple it would've happened by now, python has dominated ML for a long time. It has a ton of great libraries available but somehow they are all still worse than ggplot. desu it's possible that they simply made too many instead of working on polishing one good one. The other curse is that the only common ground between the mess of libraries (and thus what works with everything) is matplotlib. which is ass
>>
File: 1767824374494048.png (465 KB, 940x2367)
465 KB
465 KB PNG
>>107834733
Judging by the thread (unless its just you samefagging), it already happened. Who here is talking good things about tidyverse? Pic unrelated but made with matplotlib and seaborn.
>>
Libreoffice calc



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.