Skip to content

Commit dc5745d

Browse files
fix examples
1 parent da09f1c commit dc5745d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/colorscale/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ func main() {
2727
Cmid: 5,
2828
Cmax: 10,
2929
Color: types.ArrayOKArray(types.UseColorScaleValues(z)...),
30-
Colorscale: types.ColorScale{
30+
Colorscale: &types.ColorScale{
3131
Values: []types.ColorScaleReference{
3232
{NormalizedValue: 0.0, Color: "#6e40aa"},
3333
{NormalizedValue: 0.1, Color: `#963db3`},

0 commit comments

Comments
 (0)