I am working on a module and I wanted to separate the 'raw' processing part from the visualization-related functions. I thought of having a base module (eg MyBaseMod) and then a submodule (MyBaseMod.Viz) for visualization.
Since some MyBaseMod.Viz needs PyPlot, I want to be able to use MyBaseMod without the visualization part, so that it doesn't need PyPlot. However, AFAIK, it is not possible to place MyBaseMod.Viz in a different file than MyBaseMod, because it will then replace previously included MyBaseMod, right ? Is the best option to split it into two modules, rather than submodules? Thanks.
