@@ -16,9 +16,9 @@ using Aqua
16
16
words = [" Test" , " TextHeatmaps" ]
17
17
val = [4.2 , - 1.0 ]
18
18
19
- cs = TextHeatmaps. seismic
20
- cmin = get (cs , 0 ) # red
21
- cmax = get (cs , 1 ) # blue
19
+ colorscheme = TextHeatmaps. seismic
20
+ cmin = get (colorscheme , 0 ) # red
21
+ cmax = get (colorscheme , 1 ) # blue
22
22
23
23
# Test default ColorScheme seismic
24
24
h = heatmap (val, words)
@@ -33,10 +33,10 @@ using Aqua
33
33
@test_reference " references/seismic_extrema.txt" repr (" text/plain" , h)
34
34
35
35
# Test other colorschemes
36
- cs = ColorSchemes. inferno
37
- h = heatmap (val, words; cs = cs , rangescale= :centered )
36
+ colorscheme = ColorSchemes. inferno
37
+ h = heatmap (val, words; colorscheme = colorscheme , rangescale= :centered )
38
38
@test_reference " references/inferno_centered.txt" repr (" text/plain" , h)
39
- h = heatmap (val, words; cs = cs , rangescale= :extrema )
39
+ h = heatmap (val, words; colorscheme = colorscheme , rangescale= :extrema )
40
40
@test_reference " references/inferno_extrema.txt" repr (" text/plain" , h)
41
41
42
42
# Test errors
0 commit comments