Skip to content

Commit

Permalink
bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
joshday committed Oct 12, 2021
1 parent b4e4881 commit 4e498eb
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "OnlineStatsBase"
uuid = "925886fa-5bf2-5e8e-b522-a9147a512338"
version = "1.4.6"
version = "1.4.7"

[deps]
AbstractTrees = "1520ce14-60c1-5f80-bbc7-55ef81b5835c"
Expand Down
16 changes: 10 additions & 6 deletions src/OnlineStatsBase.jl
Original file line number Diff line number Diff line change
Expand Up @@ -74,14 +74,18 @@ Base.merge(o::OnlineStat, o2::OnlineStat) = merge!(copy(o), o2)

#-----------------------------------------------------------------------# Base.show
function Base.show(io::IO, o::OnlineStat)
print(io, name(o, false, false), ": ")
print(io, "n=", nobs(o))
print(io, name(o, false, false))
printstyled(io, ": ", color=:light_black)
print(io, "n=")
print(io, nobs(o))
for (k,v) in pairs(additional_info(o))
print(io, " | $k=")
show(IOContext(io, :compact => true), v)
printstyled(io, " |", color=:light_black)
print(io, " $k=")
print(IOContext(io, :compact => true), v)
end
print(io, " | value=")
show(IOContext(io, :compact => true), value(o))
printstyled(io, " |", color=:light_black)
print(io, " value=")
show(IOContext(io, :compact => true, :displaysize => (1, 50)), value(o))
end
function name(T::Type, withmodule = false, withparams = true)
s = string(T)
Expand Down

2 comments on commit 4e498eb

@joshday
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/46625

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v1.4.7 -m "<description of version>" 4e498eb7ba2e79f2ba8f0cad19aca829da5cb892
git push origin v1.4.7

Please sign in to comment.