diff --git a/pandas/plotting/_core.py b/pandas/plotting/_core.py index 0eb8ab2412e0e..3b60e95b9dceb 100644 --- a/pandas/plotting/_core.py +++ b/pandas/plotting/_core.py @@ -961,7 +961,10 @@ def __call__(self, *args, **kwargs): return plot_backend.plot(self._parent, x=x, y=y, kind=kind, **kwargs) if kind not in self._all_kinds: - raise ValueError(f"{kind} is not a valid plot kind") + raise ValueError( + f"{kind} is not a valid plot kind " + f"Valid plot kinds: {self._all_kinds}" + ) # The original data structured can be transformed before passed to the # backend. For example, for DataFrame is common to set the index as the