diff --git a/pandas/plotting/_core.py b/pandas/plotting/_core.py index 9169eb86895fb..bec70ae9e149a 100644 --- a/pandas/plotting/_core.py +++ b/pandas/plotting/_core.py @@ -809,6 +809,7 @@ def _make_plot(self): ax = self.axes[0] c_is_column = is_hashable(c) and c in self.data.columns + print('c') # plot a colorbar only if a colormap is provided or necessary cb = self.kwds.pop('colorbar', self.colormap or c_is_column)