aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* pyrecwrap: nest python classes as modulesbnewbold2016-04-041-1/+2
| | | | | | | | | This brings the behavior closer to how PyCall's pywrap() itself works, and makes this function useful for PyX. With Python3 and PyX 0.14.1, this generates 1100 nested modules or classes; the previous commit (modules only) had much fewer (167 modules).
* add recursive version of PyCall's pywrapbnewbold2016-04-041-0/+56
| | | | | | | | | | Will be used to have deeply nested Julia Modules for deeply nested Python modules Eg, os.path.genericpath.* in python becomes os.path.genericpath.* in Julia. This version only works with modules, not Python classes. Thanks to James Porter at the Recurse Center for helping with this!
* change pipeGS's 'device' from kwarg to argbnewbold2016-03-031-3/+3
|
* fix png and jpeg MIME; export writePSfile and writeGSfilebnewbold2016-03-011-5/+7
| | | | | | | | | | | writePSfile accidentally wasn't wrapped. Unlike the other file writing functions, writeGSfile requires a file path, can't pass an IO object or file descriptor. Enforce this with a type annotation (AbstractString). The above means that png and jpeg writemime() support requires using pipeGS instead of writeGSfile.
* huge rework adding MIME output support, PyxCanvas, wrapper, morebnewbold2016-02-231-39/+75
| | | | | | | | | | | | | Apes PyPlot to map a new Julia type (PyxCanvas) to the PyX python "canvas" class, and defines many methods on this new type, including MIME output. Also addes ghostscript piping stuff, and corrects Python3 (SVG) support. This now at least sort-of works with Jupyter. Probably needs a refactor/cleanup, definately needs mime-specific tests, and the Graph object should also be wrapped (PyxGraph).
* add conditional (py3) writeSVGfile function exportbnewbold2016-02-211-3/+8
|
* yet more exports; change style_line* exports to be consistentbnewbold2016-02-211-12/+50
|
* add more graph testsbnewbold2016-02-211-1/+4
|
* simple, naive, draft, etcbnewbold2016-02-211-0/+54