Installation Issue with matplotlib Python
--------------------------------------------------
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------
Music by Eric Matyas
https://www.soundimage.org
Track title: Puzzle Game 3 Looping
--
Chapters
00:00 Installation Issue With Matplotlib Python
00:38 Accepted Answer Score 1346
01:08 Thank you
--
Full question
https://stackoverflow.com/questions/2178...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#python #macos #matplotlib #anaconda
#avk47
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------
Music by Eric Matyas
https://www.soundimage.org
Track title: Puzzle Game 3 Looping
--
Chapters
00:00 Installation Issue With Matplotlib Python
00:38 Accepted Answer Score 1346
01:08 Thank you
--
Full question
https://stackoverflow.com/questions/2178...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#python #macos #matplotlib #anaconda
#avk47
ACCEPTED ANSWER
Score 1346
Problem Cause
In mac os image rendering back end of matplotlib (what-is-a-backend to render using the API of Cocoa by default). There are Qt4Agg and GTKAgg and as a back-end is not the default. Set the back end of macosx that is differ compare with other windows or linux os.
Solution
- I assume you have installed the pip matplotlib, there is a directory in your root called
~/.matplotlib. - Create a file
~/.matplotlib/matplotlibrcthere and add the following code:backend: TkAgg
From this link you can try different diagrams.