In a module i am working on I have quite a few plotting functions, all contained within a file vis.jl. To plot I use Gadfly. The problem is that on my machine at least, Gadfly takes an awful long time to load up, which my module inherits. How can I do some kind of conditional module loading, such that the Gadfly module is loaded only when I use plotting functions.
Thanks