r/IPython • • Feb 13 '20

Question about the plot function

Hi, supposing that we have:

fig = plt.figure()

ax = fig.add_figures(1,1,1)

and data is a pandas.core.series.Series. Could you please tell me what is the meaning of ax=ax in data.plot(ax=ax, style= 'k-') ?

2 Upvotes

7 comments sorted by

View all comments

Show parent comment

1

u/largelcd Feb 14 '20

Thank you very much for nice the explanation. It is very educational! Now I understood.