-
-
Notifications
You must be signed in to change notification settings - Fork 28
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
Possible missing import or Plots.jl
dependency
#165
Comments
Seems this should be documented more clearly. So |
Ok, that makes sense. I agree that writing that explicitly in the docs would solve this. But can I ask: what's the rationale for not having |
The readme has
The idea of plot recipes is to provide plotting as an optional dependancy. For example, in DifferentialEquations.jl you can pass the solution of a differential equation to Another reason that plot recipes don't explicitly depend on Plots.jl is that they are designed to be consumed by different "engines". In principle, it could be possible for different plotting engines to render the recipes defined in PlotRecipes.jl. All that they would have to do is overload some methods of |
What could help here is JuliaPlots/Plots.jl#4431, otherwise I'd say this is expected behaviour. |
Hi everyone,
Issue description
If I
] add GraphRecipes
in a new environment, and then run a simple exampleI get the following error
Possible fix
] add Plots
andusing Plots
fixes this. So fixing this should be as simple as adding a dependency, or maybe there is a missing import somewhere. Or maybe I am just using the package wrong. Let me know what you think the simplest fix would be. Happy to submit a PR if that helps.Cheers!
Luca
The text was updated successfully, but these errors were encountered: