Re: [sympy] Problems with plotting

2019-07-13 Thread Jean ABOU SAMRA
> Le 12 juil. 2019 à 22:47, David Bailey a écrit : > > On 12/07/2019 14:48, Jean ABOU SAMRA wrote: > > Cough. It's more complicated than I thought at first. > Thank you! Amazingly, all that worked first time - I certainly would not have > stumbled upon that solution on my own! Pip did the

Re: [sympy] Problems with plotting

2019-07-12 Thread David Bailey
On 12/07/2019 14:48, Jean ABOU SAMRA wrote: Cough. It's more complicated than I thought at first. Thank you! Amazingly, all that worked first time - I certainly would not have stumbled upon that solution on my own! Pip did the job, I did not need to use a variant: pip --version pip 19.1.1

Re: [sympy] Problems with plotting

2019-07-12 Thread Jean ABOU SAMRA
> C:\PythonSystem\lib\site-packages\matplotlib/mpl-data/matplotlibrc Sorry, that's with backslashes: C:\PythonSystem\lib\site-packages\matplotlib\mpl-data\matplotlibrc -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group

Re: [sympy] Problems with plotting

2019-07-12 Thread Jean ABOU SAMRA
> Thanks for that quick response. Here is what I get using that code: > > Traceback (most recent call last): > File "C:\PythonTests\SymPyWorkbook\t1.py", line 1, in > import matplotlib.pyplot as plt > File "C:\PythonSystem\lib\site-packages\matplotlib\pyplot.py", line 2372, > in >

Re: [sympy] Problems with plotting

2019-07-12 Thread Jean ABOU SAMRA
Hi David, Does this simple code work? import matplotlib.pyplot as plt plt.plot([0, 1], [2, 3]) plt.show() Indeed, it looks like matplotlib is not installed or not available for import on your machine. SymPy relies on matplotlib for plotting (both are part of the global SciPy project). However

[sympy] Problems with plotting

2019-07-12 Thread David Bailey
I am puzzled as to whether 64 bit python under windows supports plotting. Here is a typical experiment to obtain a plot: import sympy from sympy import * var('x y') plotting.plot3d((exp(-(x**2+y**2))),(x,-3,3),(y,-3,3)) Traceback (most recent call last):   File