Settings

Theme

Ggplot Implementation in Python

plotnine.readthedocs.io

2 points by reeboo 3 years ago · 2 comments

Reader

ggplot_fan 3 years ago

I've used R's ggplot for ages and its API is simply wonderful and intuitive. Matplotlib's API is always unpleasant in comparison. Plotly's API is better but ggplot still wins. Obviously matplotlib's depth and breadth are tremendous, but that API isn't fun or memorable or particurlarly orthogonal.

Plotnine is quite close to ggplot so my learning curve was negligible. I get the impression plotnine's adoption hasn't been huge and I'm wondering why. Is there a lack of beginner material, targeted to python/pandas users? There's lots of introductory ggplot material but it's all R and assumes dplyr/tidy knowledge, which would all be foreign to python/pandas people.

  • reebooOP 3 years ago

    I find the gallergy for plotnine to be lacking content. In contrast, I can usually use seaborn's gallery to figure out what I need to do.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection