Comments (8)
in julia in general to suppress output put a semicolon at the end of the line. just like matlab.
from gadfly.jl.
Thanks for the quick response.
I did actually try it and it didn't work (line 14 in the link), so it's probably something with render
?
from gadfly.jl.
try on line 15.
your syntax is unusual for lines 10-15. if you're trying to define a function, then it should be:
function preproces...
...
end
not sure what you're trying to do with a begin
block.
from gadfly.jl.
Thanks for that additional catch.
I've tried the semicolon in all these places just now, still no dice...
Is there some way you would approach how to track down the print that's going on?
It seems to come from Compose since we're seeing Compose.Image
here, no?
from gadfly.jl.
I can reproduce the print on the REPL with:
using Gadfly, Cairo, Fontconfig
pb = PipeBuffer();
p = plot(x=rand(100), Geom.point);
show(pb, MIME("image/png"), render(p));
from gadfly.jl.
I did a bit more investigating.
I think the output we are seeing is coming from this line in the Compose code or somewhere around that..
Still trying to figure out the code, so any help is welcome 😃
from gadfly.jl.
might try reducing your MWE to sth that just uses Compose and not Gadfly. if you can do that, then cross-post an issue to Compose.
from gadfly.jl.
I'm working on putting together that MWE, just stopping to mention this line
img.emit_on_finish && typeof(img.out) == IOBuffer && display(img)
In some cases, which is our case I suspect, img.emit_on_finish
is true
from gadfly.jl.
Related Issues (20)
- Gadfly not working for simple point plot HOT 2
- tests and building docs currently failing HOT 3
- typos HOT 3
- Question re wrapping Gadfly.jl functionality in Tidier.jl HOT 8
- Wrong x-axis upper limit with date ? HOT 6
- Please add a feature to vary the thickness of the line in Geom.line and Geom.path HOT 1
- Specifying number of ticks HOT 6
- trying to use `Stat.yticks` causes `MethodError`
- Gadfly histogram ignore the bincount (and how to remove background lines) HOT 2
- Gadfly pop up not working in Ubuntu - workaround HOT 1
- How to set the width of the bar? HOT 1
- Zooming broken on faceted plots
- Hexbin plotting out of range
- tspan in svg output is malformated HOT 5
- colorkey min/max values HOT 1
- Can't add title to 2D function plot HOT 1
- Gadfly v1.4.0 ?
- SVG does not work with Gadfly 1.4.0 and Compose 0.9.5 HOT 6
- SVG generation has a XML mistake on tag <tspan>
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gadfly.jl.