Thanks, both those suggestions seem reasonable until something more 
permanent is sorted out.

On Tuesday, 15 April 2014 16:24:17 UTC+1, Tim Holy wrote:
>
> If you're content with the requirement that the plotting packages must be 
> loaded first, 
>
> if isdefined(Main, :Winston) 
>     include("code_for_winston.jl") 
> elseif isdefined(Main, :Gadfly) 
>     include("code_for_gadfly.jl") 
> ... 
> end 
>
> --Tim 
>
> On Tuesday, April 15, 2014 02:50:57 AM Simon Byrne wrote: 
> > I have a package for kernel density estimation: 
> > 
> > https://github.com/JuliaStats/KDE.jl 
> > 
> > that defines two custom types, UnivariateKDE and BivariateKDE. I want to 
> > define plot methods for the various plotting packages, but I don't want 
> to 
> > require a user to load all of them just to use the package. What's the 
> best 
> > way of doing this? 
> > 
> > thanks, 
> > Simon 
>

Reply via email to