The waveorder __init__.py file imports all library modules, even if they are not used. This includes from .visual import *, which changes the default matplotlib backend, in my case to QtAgg, even if function from the visual module are not used, which can create problems with other libraries. Can we remove the from .visual import * line, or even the entire contents of this file? I think this is not a good practice in general.
The waveorder
__init__.py
file imports all library modules, even if they are not used. This includesfrom .visual import *
, which changes the defaultmatplotlib
backend, in my case toQtAgg
, even if function from thevisual
module are not used, which can create problems with other libraries. Can we remove thefrom .visual import *
line, or even the entire contents of this file? I think this is not a good practice in general.