aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* BROKEN: start integrating pyrecwrappyrecwrapbnewbold2016-04-051-3/+11
| | | | | | | | Several test (eg, all `style.linewidth(0.2)` calls) fail. The problem is that python classes can be called like a function ("style.linewidth(0.2)") or accessed like a module ("style.linewidth.THICK"), while Julia modules/functions can not.
* Revert "pyrecwrap: skip some wrapping as an optimization"bnewbold2016-04-042-7/+3
| | | | | Wasn't worth the complexity; hard to get unittest to work because results (eg, for "path") were being cached.
* pyrecwrap: skip some wrapping as an optimizationbnewbold2016-04-042-3/+7
| | | | | This cuts down on the number of wrapped Julia Modules by ~30%. Might not be worth it.
* 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-043-0/+65
| | | | | | | | | | 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!
* add a Travis CI build filebnewbold2016-03-032-0/+28
|
* HACK: split out datafile-path-requiring examplesbnewbold2016-03-032-15/+56
| | | | | | | | | | When running "runtests.jl" from Pkg.test("PyX"), we get failures because data file paths are not local. This commit removes such examples from runtests.jl, and creates runexamples.jl which "does them all", but must be run locally. Should really find a better solution than this.
* change pipeGS's 'device' from kwarg to argbnewbold2016-03-031-3/+3
|
* update README; add Jupyter imagebnewbold2016-03-022-17/+36
|
* README, LICENSE, TODObnewbold2016-03-013-11/+323
|
* tests: more of thembnewbold2016-03-014-0/+94
|
* 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-232-39/+77
| | | | | | | | | | | | | 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-212-4/+9
|
* add many, many more example conversions. still not completebnewbold2016-02-2132-1/+2761
|
* README: add pyx_ prefix functions notebnewbold2016-02-211-0/+5
|
* examples/graphs/points.jl: fix zero indexingbnewbold2016-02-211-2/+2
|
* yet more exports; change style_line* exports to be consistentbnewbold2016-02-211-12/+50
|
* README: how to run testsbnewbold2016-02-211-0/+4
|
* add more graph testsbnewbold2016-02-216-1/+118
|
* add examples (all ports from PyX 0.14.1)bnewbold2016-02-219-0/+1086
|
* simple, naive, draft, etcbnewbold2016-02-211-0/+54
|
* meta-filesbnewbold2016-02-214-0/+70