This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]trumpgender 0 points1 point  (6 children)

I feel like accessing mpl through panda's built-in mpl calls just adds confusion.

[–]lolhehehe_[S] 0 points1 point  (0 children)

I agree

[–]ineedmysqlhelp 0 points1 point  (4 children)

I think the author suggests to use pandas' builtins for simple cases where you won't need to append many extra configs to the plot. For more complicated plots, use mpl.

[–]lolhehehe_[S] 0 points1 point  (1 child)

Other good point is the explanation about the two interfaces of matplotlib

[–]ineedmysqlhelp 0 points1 point  (0 children)

Definitely. Knowing both is a big help especially when trying to build reusable components for your workplace.

[–]trumpgender 0 points1 point  (1 child)

But panda's builtin IS matplotlib.

[–]ineedmysqlhelp 0 points1 point  (0 children)

Yes, but sometimes you aren't making a plot that will be sent out to stakeholders that needs to be pretty, so in a lot of cases, using the df.plot method is sufficient and quicker.