5 ms·
Is this actually a new feature of pandas? I've only used other libraries like seaborn and matplotlib.
by trts 7y ago
Is this actually a new feature of pandas? I've only used other libraries like seaborn and matplotlib.
- fr1tkot 7y agoIt's not new, I remember using the .plot function 2 or 3 year ago. Seaborn is much better anyway though, so don't bother switching. And the pandas plots are ugly
- BeetleB 7y agoIIRC, if you import seaborn, then pandas plots will use seaborn styling. I don't think seaborn is a standalone plotting library - it's merely provides styling. So you can have your cake and eat it too.
- SiempreViernes 7y agoSeaborn adds new plotting functions, not merely a new style, though I'm not sure that qualifies it to be called standalone. Certainly Seaborn has matplotlib as a dependency.
- squaresmile 7y agoYou can use plt.style.use("seaborn") [0] to just use the style. Style sheets reference [1] [0] https://matplotlib.org/tutorials/introductory/customizing.html https://matplotlib.org/tutorials/introductory/customizing.ht... [1] https://matplotlib.org/gallery/style_sheets/style_sheets_reference.html https://matplotlib.org/gallery/style_sheets/style_sheets_ref...
- mayankkaizen 7y agoIt is wrong to say Seaborn only provides styling. There are many types of plots available in Seaborn which are Not available in Matplotlib. It might not be extensive, but what it does, it does better than Matplotlib.
- lawlorino 7y agoThis capability is at least a few years old which is when I first started using pandas. I believe it uses matplotlib on the backend for the plotting by default, and works pretty seamlessly with seaborn too.
- BeetleB 7y agoI've been using pandas since 2012 and it had decent plotting capabilities back then.
- nerdponx 7y agoIt's a matplotlib wrapper.