added convenient way to plot all line elements in python