Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better error when Plots is not loaded #4431

Open
fonsp opened this issue Jan 20, 2021 · 2 comments
Open

Better error when Plots is not loaded #4431

fonsp opened this issue Jan 20, 2021 · 2 comments

Comments

@fonsp
Copy link
Contributor

fonsp commented Jan 20, 2021

If you load a package that implements plot recipes, and call one of its plot functions without loading Plots.jl, the error is unhelpful:

image

The error should tell me to install Plots.jl and load it with using Plots.

@BeastyBlacksmith
Copy link
Member

Currently I don't see an easy way of doing this. If we add a fallback method here, we override the fallback method of Plots.

@BeastyBlacksmith
Copy link
Member

now that I read it again, GraphRecipes could warn at using time

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants