I get errors when running programs copied from help sites

I am trying to do a simulation of Rubik’s cube on a Raspberry Pi. I was thrilled to find a helpful example but when I try ro run it I get errors; for instance it doesn’t seem to know the word ‘projection’. Is the Raspbery Pi version limited in some way?

Which version are you running?

import matplotlib;print(matplotlib.version)

What error message do you get?

I am trying to run this program and have finally managed to get it to compile with no errors but I get no display. I added the line plot.show() and finally got the display I hoped for.

I am on a steep learning curve with matplotlib. I hope eventually to get a good night’s sleep! Manyn thanks for your help.

Jenny Hicks

···

On 17 June 2022 at 12:24 Oscar Gustafsson via Matplotlib nobody@discourse.matplotlib.org wrote:

| oscargus
June 17 |

  • | - |

Which version are you running?

import matplotlib;print(matplotlib.version)

What error message do you get?


Visit Topic or reply to this email to respond.

To unsubscribe from these emails, click here.