Skip to content

"Media not defined" #323

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

Closed
mkborregaard opened this issue Mar 31, 2017 · 5 comments
Closed

"Media not defined" #323

mkborregaard opened this issue Mar 31, 2017 · 5 comments

Comments

@mkborregaard
Copy link

mkborregaard commented Mar 31, 2017

If I run (Cmd-shift-enter) the StatPlots.jl or PlotRecipes.jl module in Juno, it fails with the message "Media not defined". I can usually get it to work with using Media and rerunning the module in StatPlots, but PlotRecipes (that imports and reexports StatPlots) continue in an unstable state and so I cannot use Juno to edit either of these packages. Everything works great from the REPL.
Probably related to / identical to JuliaPlots/GraphRecipes.jl#16

@mkborregaard
Copy link
Author

mkborregaard commented Apr 12, 2017

This seems to have been reported several times in the past in other locations
JuliaPlots/Plots.jl#543
SciML/DifferentialEquations.jl#105

@pfitzseb
Copy link
Member

pfitzseb commented Apr 12, 2017

I think this is because of Plots.jl's somewhat unorthodox Juno.jl integration -- I've been meaning to create a PR that is more in line with our API, but haven't gotten around to it yet.

@ChrisRackauckas
Copy link
Member

ChrisRackauckas commented Apr 17, 2017

It's Plots.jl's @eval and precompilation usage, not a Juno issue. No precompiled package should depend on plots, either directly or indirectly (recipes are okay). See the ApproxFun.jl and Plots's precompilation threads for clear proofs.

@mkborregaard
Copy link
Author

Thanks a lot @ChrisRackauckas ! @pfitzseb I guess I should close this then?

@ChrisRackauckas
Copy link
Member

Yeah.

@pfitzseb pfitzseb closed this as completed Jul 2, 2017
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