Can I see plots using Python?



I am evaluating code9 for python development. I need to view plots and such with matplotlib. I tried a sample and got an error about “no display name and no $DISPLAY environment variable”, With plotly offline I do not get error, but where to see plot?