Difference Between Matplotlib And Pandas Groupby