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

Winston fails to plot when pre-compiled #123

Open
vtjnash opened this issue Feb 15, 2014 · 1 comment
Open

Winston fails to plot when pre-compiled #123

vtjnash opened this issue Feb 15, 2014 · 1 comment

Comments

@vtjnash
Copy link
Collaborator

vtjnash commented Feb 15, 2014

With JuliaLang/julia#5821, Winston fails to show plots because it does runtime work while compiling Winston.jl (related to JuliaLang/julia#1268)

2549 if !isdefined(Main, :IJulia)
2550     if output_surface == :gtk
2551         include("gtk.jl")
2552         display(::WinstonDisplay, p::PlotContainer) = gtk(p)
2553     elseif output_surface == :tk
2554         include("tk.jl")
2555         display(::WinstonDisplay, p::PlotContainer) = tk(p)
2556     else
2557         assert(false)
2558     end
2559     pushdisplay(WinstonDisplay())
2560 end
@JeffBezanson
Copy link
Collaborator

A lot of packages are going to have to move code like this into init functions.

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

No branches or pull requests

2 participants