Skip to content

Commit

Permalink
Merge 0655cfc into 53bf939
Browse files Browse the repository at this point in the history
  • Loading branch information
devmotion committed Feb 21, 2022
2 parents 53bf939 + 0655cfc commit a214e48
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ uuid = "c7f686f2-ff18-58e9-bc7b-31028e88f75d"
keywords = ["markov chain monte carlo", "probablistic programming"]
license = "MIT"
desc = "Chain types and utility functions for MCMC simulations."
version = "5.0.3"
version = "5.0.4"

[deps]
AbstractMCMC = "80f14c24-f653-4e6a-9b94-39d6b0f70001"
Expand Down
4 changes: 2 additions & 2 deletions src/plot.jl
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ const supportedplots = push!(collect(keys(translationdict)), :mixeddensity, :cor

if colordim == :parameter
title --> "Chain $(MCMCChains.chains(c)[i])"
label --> string.(names(c))
label --> permutedims(map(string, names(c)))
val = c.value[:, :, i]
elseif colordim == :chain
title --> string(names(c)[i])
label --> map(x -> "Chain $x", MCMCChains.chains(c))
label --> permutedims(map(x -> "Chain $x", MCMCChains.chains(c)))
val = c.value[:, i, :]
else
throw(ArgumentError("`colordim` must be one of `:chain` or `:parameter`"))
Expand Down
2 changes: 1 addition & 1 deletion test/plot_test.jl
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,4 @@ Logging.disable_logging(Logging.Warn)
end

# Reset log level.
Logging.disable_logging(level)
Logging.disable_logging(level)

0 comments on commit a214e48

Please sign in to comment.