Skip to content

Commit

Permalink
quartile markers are hidden
Browse files Browse the repository at this point in the history
  • Loading branch information
mcabbott committed Oct 8, 2021
1 parent e9648d4 commit ccb2bc3
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/trials.jl
Original file line number Diff line number Diff line change
Expand Up @@ -503,10 +503,18 @@ function Base.show(io::IO, ::MIME"text/plain", t::Trial)
elseif i == q25pos
# Quartile markers exist partly to explain the median marker, without needing a legend
# printstyled(io, "¼", color=:light_black)
printstyled(io, "", color=:light_black)
if VERSION > v"1.7-"
printstyled(io, "", color=:light_black, hidden=true)
else
printstyled(io, "", color=:light_black)
end
elseif i == q75pos
# printstyled(io, "¾", color=:light_black)
printstyled(io, "", color=:light_black)
if VERSION > v"1.7-"
printstyled(io, "", color=:light_black, hidden=true)
else
printstyled(io, "", color=:light_black)
end
else
print(io, " ")
end
Expand Down

0 comments on commit ccb2bc3

Please sign in to comment.