| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Wasn't worth the complexity; hard to get unittest to work because
results (eg, for "path") were being cached.
|
|
|
|
|
| |
This cuts down on the number of wrapped Julia Modules by ~30%. Might not
be worth it.
|
|
|
|
|
|
|
|
|
| |
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).
|
|
|
|
|
|
|
|
|
|
| |
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!
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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).
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|