Relative Content

Tag Archive for pandasmatplotlib

Matplotlib and Pandas: why plots don’t show in a 2 x 2 subplots space

I’m having an hard time understanding what’s the difference between creating a graph with matplotlib and pandas, and meanwhile I’m working on ISLP, chapter 2 exercises. I looked estensively online and it seems to me that everybody uses some sort of mixed method with matplotlib and pandas.
There is an answer elsewhere by which i understand that matplotlib uses plt.method() and pandas uses df.method()…?
Also i don’t get why sometime to create a graph I need fig, ax = subplot and other times I don’t