I ma new to Raspberry and i successfully set up a model B with Raspbian 4 weeks ago (downloaded raspbian and put it on an SD card) The System boots up fine and i can use it - So far so good.
Now i try to start a python3 program that i developed on an Ubuntu PC. I was glad to see that Python3 is already installed. But no luck with Matplotlib and pyplot. I was annoyed that al was set up so fine and here i already tried a lot, googling for a lot of single issues: Installing Pip3, installing Matplotlib (ok is normal) come over the Memory error when doing so, installing "cairo" without knowing what to do.
So in the meantime i think i did something basic wrong. I would ask you to test, if this simple demo from https://matplotlib.org/users/pyplot_tutorial.html works for you? And if yes - what did i make wrong?
Code: Select all
import matplotlib.pyplot as plt plt.plot([1,2,3,4]) plt.ylabel('some numbers') plt.show()