Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update _core.py to show valid plot types in the Error Message for Inv…
…alid plot kind (#55758) * Update _core.py to show valid plot types in the Error Message for Invalid Plots If an invalid plot type is passed, the error message raised is ``` raise ValueError(f"{kind} is not a valid plot kind") ``` To give more context to user, it should also show the valid plot kinds. * Update _core.py with multiline exception message * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
ecf449b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What a helpful feature! Really interesting and it will really help the development process.