Skip to content

Commit e531eab

Browse files
committed
Don't crop profiler output in Jupyter.
[skip ci].
1 parent 853baef commit e531eab

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/profile.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -603,9 +603,9 @@ function Base.show(io::IO, results::ProfileResults)
603603
end
604604
end
605605

606-
crop = if get(io, :is_pluto, false)
607-
# Pluto.jl indicates it wants to limit output, but it does have a scroll bar,
608-
# so let's ignore that
606+
crop = if get(io, :is_pluto, false) || get(io, :jupyter, false)
607+
# Pluto.jl and IJulia.jl both indicate they want to limit output,
608+
# but they have scrollbars, so let's ignore that
609609
:none
610610
elseif io isa Base.TTY || get(io, :limit, false)::Bool
611611
# crop horizonally to fit the terminal

0 commit comments

Comments
 (0)