pydata/pandas — pull request #6094 by dsm054 (2014-01-25 16:00:31+00:00)
Title: BUG: ensure plt is imported before it's used in hist_frame

If the `by` argument to `hist_frame` isn't `None`, then `plt.setp` can be called be called before `plt` is imported. This moves the import to the start of the function to avoid this.