• TropicalDingdong@lemmy.world
    link
    fedilink
    English
    arrow-up
    29
    ·
    30 days ago

    Yeah but once you’ve done it once in R you can just dump your data again, update the theme and boom, done again.

    Also 30 minutes? maybe 3.

  • scrion@lemmy.world
    link
    fedilink
    English
    arrow-up
    27
    ·
    30 days ago

    You’ll get used to it and it will only take a couple of minutes. And I honestly believe nothing comes close to ggplot2 in terms of quality, and I don’t use R for anything else.

      • scrion@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        29 days ago

        Plots are typical composed, and when writing a paper (I insert them mostly into TeX publications) I do find the quality of the resulting plot is just so much more refined.

        Seaborn is indeed closer and was definitely inspired by ggplot2 in some areas, but IMHO, it’s still not 100% there visually. I’m very much a Python user and would love it to be, but when I’m, let’s say, publishing a book, I’d always go back to ggplot2 - when preparing a paper for a lab class, seaborn is probably fine.

      • Hawk@lemmynsfw.com
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        29 days ago

        It’s a lot more like Seaborn. It produces gorgeous plots with a lovely syntax that is quick and easy to use, but it’s not a full drawing toolkit like matplotlib.

        If I need the plot to have a very precise aesthetic, mpl is great. But if I want a high quality statistical plot that looks great. ggplot2 will do it in about 2 seconds. See also plotnine.

        I have no idea how op thinks they could make a decent histogram any quicker than ggplot(data) + geom_histogram(x= x). I mean you don’t even have to leave your shell/editor or extract the SQL into CSV.

    • blackbirdbiryani@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      29 days ago

      Plotly has the most pain-in-the-ass syntax compared to ggplot2 IMHO. And that’s from a guy who uses a tonne of plotly.

  • M137@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    29 days ago

    Does anyone know where the image is from? I know I’ve seen the movie or whatever it is but just can’t remember.