Skip to content

Commit 973cd28

Browse files
committed
v1.5.1 patch
1 parent 28641c1 commit 973cd28

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/src/tutorial.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -866,7 +866,7 @@ xsets = [
866866
NextR(rseqs[3],n)]
867867
f(x::Vector{Float64}) = π^(s/2)*cos(norm(quantile.(Normal(),x)/sqrt(2)));
868868
f(x::Matrix{Float64}) = map(i->f(x[i,:]),1:size(x,1))
869-
fig = Figure(resolution=(800,500))
869+
fig = Figure(size=(800,500))
870870
ax = Axis(fig[2,1],
871871
xlabel = L"$n$",
872872
ylabel = L"$| \hat{\mu} - \mu |$",
@@ -900,7 +900,7 @@ CairoMakie.Screen{SVG}
900900
nvec = [1,4,16,64]
901901
rds = RandomOwenScramble(DigitalSeqB2G(2),1,17)
902902
x = Next(rds,maximum(nvec))
903-
fig = Figure(resolution=(500,500),backgroundcolor=:transparent)
903+
fig = Figure(size=(500,500),backgroundcolor=:transparent)
904904
ax = Axis(fig[1,1],aspect=1,xticklabelsvisible=false,yticklabelsvisible=false,backgroundcolor=:transparent)
905905
qmcscatter!(ax,x,nvec)
906906
limits!(ax,[-0.01,1.01],[-0.01,1.01])

src/plots.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ function qmcscatter!(xs::Vector{Matrix{Float64}},nvec::Vector{Int64},dvec::Matri
1414
@assert all(size(xs[j],2) >= maximum(dvec) for j=1:length(xs))
1515
nrows,ncols = size(dvec,1),length(xs)
1616
addlegend = length(nvec)>2
17-
fig = CairoMakie.Figure(backgroundcolor=:white, resolution=(400*ncols,400*nrows+(addlegend ? 100 : 0)))
17+
fig = CairoMakie.Figure(backgroundcolor=:white, size=(400*ncols,400*nrows+(addlegend ? 100 : 0)))
1818
ax = NaN
1919
for i=1:nrows
2020
for j=1:ncols

0 commit comments

Comments
 (0)