Re:Comprehensive Guide on Data Visualization with Pandas
by trts on Monday September 16, 2019 @10:54AM
(#20984656)
Is this actually a new feature of pandas? I've only used other libraries like seaborn and matplotlib.
[ Parent
| on HN ]
Re:Comprehensive Guide on Data Visualization with Pandas
by fr1tkot on Monday September 16, 2019 @10:57AM
(#20984692)
It'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
Re:Comprehensive Guide on Data Visualization with Pandas
by BeetleB on Monday September 16, 2019 @11:10AM
(#20984838)
IIRC, 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.
Re:Comprehensive Guide on Data Visualization with Pandas
by SiempreViernes on Monday September 16, 2019 @11:17AM
(#20984901)
Seaborn 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.
Re:Comprehensive Guide on Data Visualization with Pandas
by squaresmile on Monday September 16, 2019 @11:54AM
(#20985345)
You can use plt.style.use("seaborn") [0] to just use the style. Style sheets reference [1]
[0] https://matplotlib.org/tutorials/introductory/customizing.ht...
[1] https://matplotlib.org/gallery/style_sheets/style_sheets_ref...
Re:Comprehensive Guide on Data Visualization with Pandas
by mayankkaizen on Monday September 16, 2019 @12:16PM
(#20985599)
It 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.
Re:Comprehensive Guide on Data Visualization with Pandas
by lawlorino on Monday September 16, 2019 @10:59AM
(#20984714)
This 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.