I am writing some functions into an additional file, which I am including in the jupyter notebook. The file looks like this:
module pivPlotting using PyPlot export vectorPlot function vectorPlot(frame1, u, v, searchArea, ... ... end
Runing the following initially works:
include("pivPlotting.jl") using pivPlotting vectorPlot()...
As soon as I change something in the file “pivPlotting.jl” and run the above cells again (including the “include” and “using” commands, I end up with the error:
WARNING: using pivPlotting.vectorPlot in module Main conflicts with an existing identifier.
vectorPlot() does not contain the change in code, whereas pivPlotting.vectorPlot() does. So the “Main” instance, previously imported, is not overwritten by re-including and re-importing the module.
How to import changes introduced into modules?