Skip to content

Commit

Permalink
Disable grid for heatmap and shade plots
Browse files Browse the repository at this point in the history
  • Loading branch information
jheinen committed Jul 13, 2024
1 parent bf9e8ad commit b563d51
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/jlgr.jl
Original file line number Diff line number Diff line change
Expand Up @@ -592,6 +592,7 @@ function draw_axes(kind, pass=1, plt=plt[])
GR.setcharheight(charheight)
if kind === :heatmap || kind === :nonuniformheatmap || kind === :shade
ticksize = -ticksize
drawgrid = false
end
if haskey(plt.kvs, :xticklabels) || haskey(plt.kvs, :yticklabels)
drawgrid && GR.grid(xtick, ytick, 0, 0, majorx, majory)
Expand Down

0 comments on commit b563d51

Please sign in to comment.