Skip to content

Commit ab7f421

Browse files
committed
fix plots
1 parent ab6f9ef commit ab7f421

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/src/tutorials/warcraft.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,4 +85,4 @@ final_gap = compute_gap(b, test_dataset, model, maximizer)
8585
#
8686
θ = model(x)
8787
y = maximizer(θ)
88-
plot_data(b, DataSample(; x, θ, y))
88+
plot_data(b, DataSample(; x, θ, y); θ_true=θ_true)

src/Warcraft/Warcraft.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Plot the image `im`, the weights `weights`, and the path `path` on the same Figu
2929
"""
3030
function Utils.plot_data(
3131
::WarcraftBenchmark,
32-
sample::DataSample,
32+
sample::DataSample;
3333
θ_title="Weights",
3434
y_title="Path",
3535
θ_true=sample.θ,

0 commit comments

Comments
 (0)