GiovineItalia / Gadfly.jl

Crafty statistical graphics for Julia.
http://gadflyjl.org/stable/
Other
1.9k stars 251 forks source link

Theme(grid_color=nothing) does not work #717

Open Keno opened 9 years ago

Keno commented 9 years ago
> using Gadfly
> plot(x=rand(10), y=rand(10), Theme(grid_color=nothing))
MethodError: `hex` has no method matching hex(::Void)
 in render at /home/juser/.julia/v0.4/Gadfly/src/guide.jl:611
 in render_prepared at /home/juser/.julia/v0.4/Gadfly/src/Gadfly.jl:794
 in render at /home/juser/.julia/v0.4/Gadfly/src/Gadfly.jl:721
 in writemime at /home/juser/.julia/v0.4/Gadfly/src/Gadfly.jl:854
 in sprint at iostream.jl:211
 in display_dict at /home/juser/.julia/v0.4/IJulia/src/execute_request.jl:29
Keno commented 9 years ago

Note the documentation says grid_color: Color of grid lines. (Color or Nothing), so maybe this is just a doc issue.

bjarthur commented 7 years ago

i can replicate. work around if you don't want grid lines is to use grid_line_width=0mm