Skip to content

Commit a4d51b5

Browse files
committed
Updated versions
1 parent 22ff75b commit a4d51b5

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

Project.toml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "Turkie"
22
uuid = "8156cc02-0533-41cd-9345-13411ebe105f"
33
authors = ["Théo Galy-Fajou <[email protected]> and contributors"]
4-
version = "0.1.12"
4+
version = "0.1.13"
55

66
[deps]
77
ColorSchemes = "35d6a980-a343-548e-a6ea-1d62b119f2f4"
@@ -16,8 +16,8 @@ Turing = "fce5fe82-541a-59a6-adf8-730c64b5f9a0"
1616
ColorSchemes = "3"
1717
Colors = "0.12"
1818
KernelDensity = "0.6"
19-
MCMCChains = "4, 5"
20-
Makie = "0.15, 0.16, 0.17"
19+
MCMCChains = "5"
20+
Makie = "0.17, 0.18, 0.19"
2121
OnlineStats = "1.5"
22-
Turing = "0.20, 0.21"
22+
Turing = "0.26, 0.27"
2323
julia = "1.6"

src/live_sampling/turkie_callback.jl

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ struct TurkieCallback{TN<:NamedTuple,TS<:AbstractDict,TD<:AbstractDict}
3030
iter::Observable{Int}
3131
end
3232

33-
function TurkieCallback(model::Model, plots::Series; kwargs...)
33+
function TurkieCallback(model::Model, plots::OnlineStats.Series; kwargs...)
3434
return TurkieCallback(model, collect(plots.stats); kwargs...)
3535
end
3636

@@ -61,7 +61,7 @@ function TurkieCallback(vars::NamedTuple, params::Dict)
6161
for (i, variable) in enumerate(keys(vars))
6262
plots = vars[variable]
6363
data[variable] = Observable(MovingWindow(window, Float32))
64-
axis_dict[(variable, :varname)] = fig[i, 1, Left()] = Label(fig, string(variable), textsize = 30)
64+
axis_dict[(variable, :varname)] = fig[i, 1, Left()] = Label(fig, string(variable), fontsize = 30)
6565
axis_dict[(variable, :varname)].padding = (0, 60, 0, 0)
6666
onlineplot!(fig, axis_dict, plots, stats_dict, iter, data, variable, i)
6767
end

test/Project.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
66
Turing = "fce5fe82-541a-59a6-adf8-730c64b5f9a0"
77

88
[compat]
9-
CairoMakie = "0.6, 0.7, 0.8"
9+
CairoMakie = "0.9, 0.10"
1010
ColorSchemes = "3"
1111
OnlineStats = "1"
12-
Turing = "0.20, 0.21"
12+
Turing = "0.26, 0.27"

0 commit comments

Comments
 (0)