Skip to content

Commit 507074d

Browse files
author
chmerdon
committed
fixed scaling of 1d scalarplot again, removed info
1 parent 863974a commit 507074d

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

ext/GridVisualizeUnicodePlotsExt.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -352,8 +352,7 @@ function scalarplot!(
352352

353353
nfuncs = length(funcs)
354354
layout = ctx[:layout]
355-
resolution = @. Int(round(ctx[:size] ./ (12, 6) ./ (layout[2], 4 * layout[1]))) # reduce pixel count in the terminal (size is then compatible to other plots)
356-
@info resolution
355+
resolution = @. Int(round(ctx[:size] ./ 6 ./ (layout[2], 2 * layout[1]))) # reduce pixel count in the terminal (size is then compatible to other plots)
357356

358357
ylim = ctx[:limits]
359358
if ylim[1] > ylim[2]

0 commit comments

Comments
 (0)