0

When I run this simple code:

from pylab import *
import numpy as np

X = [];
Y = [];
for i in range (0,10):
    X.append(i)
    Y.append(i)

plot(X,Y)
show()

I don't get any window. I tried to replace show with draw with the same result.

I'm using python version 3.2.2

How can I show the window/plot than (apart from printing it to file and open the file).

Note, I'm using this example:

http://matplotlib.sourceforge.net/examples/api/custom_scale_example.html

1 Answer 1

1

I don't think numpy or scipy have a stable release for 3.2 yet.

Unless it's important to you that you use python 3.2, try to install python 2.7 instead. Everything should work fine there.

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

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.