Skip to content

Commit

Permalink
format...
Browse files Browse the repository at this point in the history
  • Loading branch information
odunbar committed Mar 22, 2023
1 parent 8ab7339 commit 82273c5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/PlotRecipes/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -14,27 +14,27 @@ if TEST_PLOT_OUTPUT
c1 = [no_constraint(), bounded_below(-1.0), bounded_above(0.4), bounded(-0.1, 0.2)]
name1 = "constrained_mvnormal"
u1 = ParameterDistribution(d1, c1, name1)

d2 = Samples([1 2 3 4])
c2 = [bounded(10, 15)]
name2 = "constrained_sampled"
u2 = ParameterDistribution(d2, c2, name2)

d3 = VectorOfParameterized(repeat([Beta(2, 2)], 3))
c3 = repeat([no_constraint()], 3)
name3 = "vector_beta"
u3 = ParameterDistribution(d3, c3, name3)

u = combine_distributions([u1, u2, u3])

# PDTs
plt1 = plot(d1)
savefig(plt1, joinpath(@__DIR__, name1 * ".png"))
plt2 = plot(d2)
savefig(plt2, joinpath(@__DIR__, name2 * ".png"))
plt3 = plot(d3)
savefig(plt3, joinpath(@__DIR__, name3 * ".png"))

# full param dist
plt_constrained = plot(u)
savefig(plt_constrained, joinpath(@__DIR__, "full_dist_constrained.png"))
Expand Down

0 comments on commit 82273c5

Please sign in to comment.