Matplotlib problem - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: Matplotlib problem (/thread-19506.html) |
Matplotlib problem - ift38375 - Jul-02-2019 This is my source code for Bar graph through Pyplot : import matplotlib.pyplot as plt x = [2,4,6,8,10] y=[3,9,11,2,6] plt.bar(x,y,label ='Bars') plt.xlabel('X-axis') plt.ylabel('Y-axis') plt.title('Bar Graph1') plt.legend() plt.show()When i am running code in interactive mode = then it fine and gives output but when i am trying in Script mode then it gives error as given below : How can i solve this issue ?My problem has been resolved after installing : vc_redist.x86.exe Thanks |