Some functions moved from activepipe.py to a new module visualization.