April 26, 2017

Debugging Matplotlib


I’ve had trouble with matplotlib while running a python script.

import matplotlib.pyplot as plt
...
...

plt.show()

This bit of code was supposed to show the graph of the image defined but when I ran the code, nothing happened. No errors, no program run. So, I searched on internet and found the solution to it as first including PyQt5 and matplotlib in the beginning and then use('qt5agg')



You might also like...
Let's solve foobar
Challenge for the 2017
How to install Ruby on Rails in Linux ?
Serving Content through Cloudflare network
One liner server command in ruby
Free website using jekyll and free github hosting
How to install Jekyll ?
How to register for GithubEducation Pack ?
How to install Ruby on Linux
Ubuntu system program problem detected[Solved]