GiovineItalia / Gadfly.jl

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

Removing gridlines in spy() #1121

Open montyvesselinov opened 6 years ago

montyvesselinov commented 6 years ago

Gadfly.spy(rand(5,5)) produces vertical grey lines between the colored boxes. How can these lines be removed?

Mattriks commented 6 years ago

Theme(bar_spacing=), try -0.5<bar_spacing<1mm to see the effect.

Gadfly.spy(rand(5,5), Theme(bar_spacing=-0.5mm))
montyvesselinov commented 6 years ago

this is cool; it works; however, guessing the right amount will be challenging for big matrices.

-monty

On Tue, Mar 27, 2018 at 7:16 PM, Mattriks notifications@github.com wrote:

Theme(bar_spacing=), try -0.5<bar_spacing<1mm to see the effect.

Gadfly.spy(rand(5,5), Theme(bar_spacing=-0.5mm))

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/GiovineItalia/Gadfly.jl/issues/1121#issuecomment-376727352, or mute the thread https://github.com/notifications/unsubscribe-auth/AFXxeIn5x5GClHmq82DIeDKqVU_Lzswwks5tiuRogaJpZM4S9239 .

tlnagy commented 6 years ago

Shouldn't it be an option to have bar_spacing=Nothing?

montyvesselinov commented 6 years ago

It will be a good option to have. On Thu, Mar 29, 2018 at 3:08 PM Tamas Nagy notifications@github.com wrote:

Shouldn't it be an option to have bar_spacing=Nothing?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/GiovineItalia/Gadfly.jl/issues/1121#issuecomment-377372863, or mute the thread https://github.com/notifications/unsubscribe-auth/AFXxeIO8C1DWEeDhAFJ48caandpYTOhCks5tjU0ugaJpZM4S9239 .

-- -monty