Closed ckaran closed 8 years ago
if your call to compose returns data, you are doing nothing wrong. But you need some output medium to draw/render to
julia> c = compose(compose(context(), rectangle()), fill("tomato"));
julia> draw(SVG("a.svg",4inch,4inch),c);
Got it. Would you mind changing the examples so that they are complete? That is, so that users can just copy/paste into a Julia REPL and have them work? It might save some headaches.
I'm following the examples at http://composejl.org/ to learn how to use compose. Here is my output:
I don't get the colored square that is shown in the example. Am I doing something wrong?
My system info is:
And I'm running OS X 10.9.5.