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...
Using specific node version in rails app.
Fix error in ruby. ruby is loading crypto in an unsafe way
Renaming tmux window
Ways of Managerial Communication
Types of Organizational Communication
Purpose of Business Communication
Need for communication
Importance of Communication
Definition of Communication
Characteristics and Benefits of Effective Communication
7 Cs of Effective Communication
Fixing mysql2 install error
Ubuntu system program problem detected[Solved]
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

Follow