There is an on-going discussion over on the pandas issue tracker about how to ‘pipe’ a dataframe into an arbitrary function. This is relevant to mpl as one of the primary use-case for this is plotting.
https://github.com/pydata/pandas/issues/10129
It would be good if more mpl developers than just me had eyes on this.
Tom