Hi Tom,
Which version of Plots are you using?
Rob
julia> using Plots
julia> gadfly(size=(400,200))
ERROR: ArgumentError: function gadfly does not accept keyword arguments
julia> Pkg.installed("Plots")
v"0.5.1"
julia> versioninfo()
Julia Version 0.4.3
Commit a2f713d (2016-01-12 21:37 UTC)
Platform Info:
System: Darwin (x86_64-apple-darwin13.4.0)
CPU: Intel(R) Core(TM) i7-4980HQ CPU @ 2.80GHz
WORD_SIZE: 64
BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
LAPACK: libopenblas64_
LIBM: libopenlibm
LLVM: libLLVM-3.3
> On Feb 1, 2016, at 06:38, Tom Breloff <[email protected]> wrote:
>
> It's certainly possible, as I can do this:
>
> <tmp.png>
>
> Looking at my source
> (https://github.com/tbreloff/Plots.jl/blob/master/src/backends/gadfly.jl#L490-L492
>
> <https://github.com/tbreloff/Plots.jl/blob/master/src/backends/gadfly.jl#L490-L492>)
> it seems like I'm setting the "grid_color" keyword in the "Gadfly.Theme"
> constructor to match the background color. However that seems to be what you
> already tried, so I'm not sure what's different. I tried this is IJulia and
> at the REPL... both results were the same for me.
>
> On Mon, Feb 1, 2016 at 8:58 AM, Jon Norberg <[email protected]
> <mailto:[email protected]>> wrote:
> I have searched and tried a few things but cannot remove the background grids
> in Gadfly. Its probably simple and I am missing something obvious...Any
> suggestions would be appreciated.
>
> layer(x=E,y=wetness(E,10.0), Geom.line,Theme(default_color=a[1],
> line_width=2pt, grid_color=colorant"white")
>
> also tried grid_line_width=0pt
>
> but they still show up ( I save it as SVG, but also output in jupiter shows
> them)
>