SymPy also comes with Anaconda. Anaconda basically installs a completely separate Python installation, but as long as the same installation includes SymPy and matplotlib they will be able to work with each other.
The issue is that things like tkinter or qt that are needed for matplotlib plotting are not Python packages but rather C libraries, so pip cannot install them. The conda package manager that comes with Anaconda is much better at installing those things, especially on Windows. I would also suggest using conda-forge, which includes even more packages. I would also mention that if you don't care about interaction, the easiest way to use matplotlib is in the Jupyter notebook with '%matplotlib inline'. Aaron Meurer On Mon, Feb 10, 2020 at 11:38 AM David Bailey <[email protected]> wrote: > > On 10/02/2020 18:21, Aaron Meurer wrote: > > Matplotlib has several backends, some of which work better than > others. The use() function changes the backend. > > I would also recommend installing matplotlib via Anaconda. That will > come with all the things you need to show plots. > > Thanks Aaron, but since Matplotlib is presumably operating correctly with > SymPy, I am concerned that if re-installing it changes something, it won't > then work with SymPy! > > Incidentally, I think the pitfalls in actually getting plotting running under > Windows, would make an excellent subject for the new documentation you are > planning. > > David > > -- > You received this message because you are subscribed to the Google Groups > "sympy" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sympy/54097b1a-ab98-1aa9-fac5-8582c4315d3c%40dbailey.co.uk. -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/CAKgW%3D6J7AjNrm91LCmSdVdL-h2RBSLHLZeyjp-OKGRUhBeW_kA%40mail.gmail.com.
