sympy/sympy — pull request #673 by Krastanov (2011-10-21 16:10:59+00:00)
Title: Yet another plotting framework (prototype proposal)

I'm making the pull request so it's easy to check the code, but the code is in a VERY early stage, it's not for inclusion. Actually even the filenames are expected to change.

So this proposal for a plotting framework easily supports multiple backends (the wish that Certik expressed on multiple occasions). For the moment only matplotlib has a backend (a very simple one).

There are two files: plotting/newplot.py is the module and test.py in root is a commented showcase of the capabilities.

Please bear in mind that the code was started yesterday, so it's far from finished. Feel free to look at the code, but I suggest that you just try test.py and only look at the class MatplotlibBackend. It shows what should be done to support new backends. The rest is just boilerplate code (and it's not well commented with an enormous amount of TODOs in comments).

I'll prepare a real documentation next week. During the weekend I'll be traveling, that's why I'm in such a hurry to show something only semi-working right now.

So what do you think about the interface proposed in test.py?