0

When I run this simple code:

import matplotlib.pyplot as plt
plt.plot([1,2,3,4])
plt.ylabel('some numbers')
plt.show()

I don't get any window. I tried to save it into file and it works, but I want to display window with plot on screen.

I'm using python version 2.7.3. And I'm working on Ubuntu.

How can I show the window/plot?

1
  • 2
    check your backend in matplotlibrc config file Commented Jan 25, 2013 at 9:01

1 Answer 1

0

Have you installed numpy? matplotlib requires numpy version 1.4 or later. You could get the installation steps from here

Sign up to request clarification or add additional context in comments.

1 Comment

This has nothing to do with the question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.