Skip to content

Commit

Permalink
doc(sdt): palette
Browse files Browse the repository at this point in the history
  • Loading branch information
tpoisot committed Nov 28, 2024
1 parent b477fff commit 2a42344
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/src/tutorials/bivariate-vsup.jl
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function _vsup_grid(
vbins,
ubins,
vpal;
upal = colorant"#f3f3f344",
upal = colorant"#efefef55",
s = 0.5,
k = 1.0,
)
Expand Down Expand Up @@ -76,12 +76,12 @@ end

# VSUP test - what are the parameters

ubins = 31
vbins = 31
ubins = 11
vbins = 11
vbin = discretize(quantize(val, vbins), vbins)
ubin = discretize(quantize(unc, ubins), ubins)

pal = _vsup_grid(vbins, ubins, :isoluminant_cgo_70_c39_n256)
pal = _vsup_grid(vbins, ubins, :twelvebitrainbow)

# fig-vsup-colorpalette
f = Figure(; size = (800, 400))
Expand Down

0 comments on commit 2a42344

Please sign in to comment.