Move printing to basic PlotWidget.py