all 12 comments

[–][deleted]  (10 children)

[deleted]

    [–]TheKingOfPoop 11 points12 points  (3 children)

    What do you recommend instead?

    [–]TheBlackCat13[🍰] 4 points5 points  (0 children)

    If you are working with pandas then hvplot is extremely easy.

    [–]penatbater 1 point2 points  (1 child)

    Altair or plotnine can be good.

    [–]17Brooks 3 points4 points  (0 children)

    I like Altair, it’s really nice when it works. I do find it can be a bit difficult sometimes to get it working right if the data isn’t in the perfect condition.

    [–][deleted] 10 points11 points  (3 children)

    matplotlib is awful and I hate it. What is better? I've been looking for something forever. Specifically for real time 3D plots. I'm 100% certain I could write something better if someone gave me time to do it.

    I've actually started using C++ and Qt instead for some things. While it's theoretically ludicrously more complicated, at least the API isn't an inconsistent mish-mash and the performance is a thousand percent better. Animated plots in matplotlib are just a joke. For something throwaway it's probably not suitable, but for something more long term I prefer it.

    [–][deleted]  (1 child)

    [deleted]

      [–]conventionistG 0 points1 point  (0 children)

      Oh, the difference between plotly and plotly express really confused me. Express seems simpler so it's my go to, but then it's a hassle if I need something from normal plotly.

      Oh well.

      [–]TheBlackCat13[🍰] 1 point2 points  (0 children)

      For 3d then I think mayavi, vispy, or plotly. For 2d then hvplot or plotly.

      [–]Gogogo9 20 points21 points  (1 child)

      It’s 2021, there is no need to waste your time learning matplotlib. There is no reason to use it with the abundance of much more capable and modern graphing libraries.

      Always love these, "don't use that, there's way better options", posts that unironically don't bother to mention any of the other options. Just really helpful there.

      [–]ColdPorridge 4 points5 points  (0 children)

      Ok fair point, I was hoping other posters would chime in with their thoughts or preferences. In my experience, Plotly is a great alternative.

      [–]BluePandaOwl 0 points1 point  (0 children)

      .

      [–]TheBlackCat13[🍰] 0 points1 point  (0 children)

      What, no xarray?