Skip to content Skip to sidebar Skip to footer

Matplotlib Does Not Display Figure

I am using python 3 in Ubuntu 13.04. This simple example runs without errors, but it doesn't display any plot: import matplotlib.pyplot as plt x = [1,2,3,4] y = [4,3,2,1] plt.plo

Solution 1:

I ran into some similar issues with this. It's better to install matplotlib using apt-get instead of pip

sudo apt-get install python3-matplotlib

- via some discussionthat I can't find anymore (I'll update the post if I come across it again)

"on Ubuntu (>= 12.10), you may install the dependencies for each package as:"

sudo apt-get build-dep python3-matplotlib

Post a Comment for "Matplotlib Does Not Display Figure"