diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 385cecdab8403..5ac63148debdc 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -3624,6 +3624,7 @@ def plot(self, subplots=False, sharex=True, sharey=False, use_index=True, axes = [ax] else: fig = ax.get_figure() + axes = fig.get_axes() if kind == 'line': if use_index: