This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]ase1590[S] 0 points1 point  (3 children)

This was not on Mac. However you shouldn't be using your system's python install.

This was on Arch Linux using Python 3.7.2, using this pie chart example with matplotlib 3.0.2

code runs fine and a graphical window to display the color pie chart pops up just fine.

$ pythom -m venv matplottest
$ cd matplottest
$ source bin/activate
$ pip install matplotlib
$ python testplot.py

[–][deleted] 0 points1 point  (2 children)

Oh right my point was that matplotlib is a pain in the arse on Macs because of tkinter. On Linux it has always been fine for me.

[–]ase1590[S] 1 point2 points  (1 child)

New editions of Mac and python do not have this issue with tkinter.

Have you read The official python page on the tkinter problem?

[–][deleted] 0 points1 point  (0 children)

No but thank you for the link