We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45f2341 commit ba04afaCopy full SHA for ba04afa
src/viz/heatmap.jl
@@ -71,11 +71,15 @@ end
71
link --> :x
72
z = Float64.(o.counts)
73
z[z .== 0] .= NaN
74
+ xlims = extrema(o.xedges)
75
+ ylims = extrema(o.yedges)
76
@series begin
77
s = marginals ? 3 : 1
78
subplot --> s
79
seriestype --> :heatmap
80
legend --> false
81
+ xlims --> xlims
82
+ ylims --> ylims
83
o.xedges, o.yedges, z'
84
end
85
if marginals
@@ -95,6 +99,7 @@ end
95
99
linewidth --> 0
96
100
line_alpha --> 0
97
101
seriestype --> :bar
102
98
103
o.xedges, vec(sum(o.counts, dims=2))
104
105
@@ -104,6 +109,7 @@ end
109
110
orientation --> :h
106
111
112
107
113
o.yedges, vec(sum(o.counts, dims=1))
108
114
115
0 commit comments