Re: [Tutor] Problems with matplotlib

2017-03-04 Thread Pooja Bhalode
I had a similar issue when I tried to download matplotlib in my python directory. I think what Peter suggested is correct, if you remove the new file it would work for you. I had the same issue with copy.py file. Hope that helps. On Sat, Mar 4, 2017 at 2:30 AM, Peter Otten <__pete...@web.de> wr

Re: [Tutor] Problems with matplotlib

2017-03-03 Thread Peter Otten
Jason Snyder wrote: > I installed the python module matplotlib on a computer and when I try to > run a program with the commands: > > import matplotlib.pyplot as plt I get the following errors: > > Traceback (most recent call last): > File "new.py", line 1, in > import matplotlib > File

Re: [Tutor] Problems with matplotlib

2017-03-03 Thread Alan Gauld via Tutor
On 03/03/17 22:59, Jason Snyder wrote: > I installed the python module matplotlib on a computer and when I try to > run a program with the commands: > > import matplotlib.pyplot as plt I get the following errors: It could be an installation issue, but really this list is for the core language and

[Tutor] Problems with matplotlib

2017-03-03 Thread Jason Snyder
I installed the python module matplotlib on a computer and when I try to run a program with the commands: import matplotlib.pyplot as plt I get the following errors: Traceback (most recent call last): File "new.py", line 1, in import matplotlib File "/usr/lib64/python2.7/site-packages/ma

Re: [Tutor] Problems with matplotlib

2017-02-19 Thread Pooja Bhalode
Hi Peter, Thank you for that advice, that worked after I deleted the copy.py that I had created. Hope you are having a great weekend. Thanks Pooja On Sat, Feb 18, 2017 at 7:32 PM, Peter Otten <__pete...@web.de> wrote: > Pooja Bhalode wrote: > > > Hi, > > > > I am trying to create a simple norm

Re: [Tutor] Problems with matplotlib

2017-02-18 Thread Peter Otten
Pooja Bhalode wrote: > Hi, > > I am trying to create a simple normal plot. But I am getting some > errors which I am not able to understand. Would be a great help if someone > can guide me to what I am doing wrong. > > Thankyou so much. > Here is the code: > > # import matplotlib.pyplot as plt

[Tutor] Problems with matplotlib

2017-02-18 Thread Pooja Bhalode
Hi, I am trying to create a simple normal plot. But I am getting some errors which I am not able to understand. Would be a great help if someone can guide me to what I am doing wrong. Thankyou so much. Here is the code: # import matplotlib.pyplot as plt from matplotlib import pyplot as plt (Here