rm print stmt
changed examples to use te.plotWithLegend()