Are you sure it's not gone behind your other windows? This is what seems to 
happen by default on OS X with matplotlib.

R
________________________________________
From: python-uk [[email protected]] on behalf of 
gvim [[email protected]]
Sent: 25 April 2016 19:28
To: UK Python Users
Subject: [python-uk] Matplotlib show() doesn't display on OS X

I ran this simple script taken from a book:

#!/usr/bin/env python3

import matplotlib.pyplot as plt

squares = [1, 4, 9, 16, 25]
plt.plot(squares)
plt.show()


... but although the script runs without error it doesn't display
anything, doesn't terminate and is unresponsive to either Ctrl+C or Ctrl+D.

gvim

_______________________________________________
python-uk mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-uk
_______________________________________________
python-uk mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-uk

Reply via email to