[python-uk] Matplotlib show() doesn't display on OS X

Pepper R. ryan.pepper at soton.ac.uk
Mon Apr 25 14:55:33 EDT 2016


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 [python-uk-bounces+rp20g15=soton.ac.uk at python.org] on behalf of gvim [gvimrc at gmail.com]
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
python-uk at python.org
https://mail.python.org/mailman/listinfo/python-uk


More information about the python-uk mailing list