File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -5,8 +5,8 @@ using FixedPointNumbers: N0f8
5
5
using Colors: Colorant, RGB, hex
6
6
using ColorSchemes: ColorScheme, get, seismic
7
7
8
- export heatmap
9
-
10
8
include (" heatmap.jl" )
11
9
10
+ export heatmap
11
+
12
12
end # module
Original file line number Diff line number Diff line change @@ -14,7 +14,9 @@ Arguments `values` and `words` (and optionally `colors`) must have the same size
14
14
before the color scheme is applied. Can be either `:extrema` or `:centered`.
15
15
Defaults to `:centered` for use with the default color scheme `seismic`.
16
16
"""
17
- function heatmap (val, words:: AbstractArray{<:AbstractString} ; kwargs... )
17
+ function heatmap (
18
+ val:: AbstractArray{<:Real} , words:: AbstractArray{<:AbstractString} ; kwargs...
19
+ )
18
20
return TextHeatmap (val, words; kwargs... )
19
21
end
20
22
You can’t perform that action at this time.
0 commit comments