Skip to content

Commit 030837f

Browse files
committed
Remove unused VHistCanvas
1 parent 546aa8d commit 030837f

2 files changed

Lines changed: 0 additions & 14 deletions

File tree

src/unicode_plot/canvas/braille_canvas.cr

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,4 @@ module UnicodePlot
8181
end
8282
end
8383

84-
# BrailleCanvas variant where blank is a space instead of ⠀.
85-
# Used for vertical histograms so that title/xlabel decorations render cleanly.
86-
class VHistCanvas < BrailleCanvas
87-
def blank : Char
88-
' '
89-
end
90-
end
9184
end

src/unicode_plot/plot.cr

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -267,13 +267,6 @@ module UnicodePlot
267267
yflip: yflip, xflip: xflip,
268268
yscale: yscale.is_a?(Symbol) ? yscale.as(Symbol) : yscale.as(Proc(Float64, Float64)),
269269
xscale: xscale.is_a?(Symbol) ? xscale.as(Symbol) : xscale.as(Proc(Float64, Float64)))
270-
when :vhist then VHistCanvas.new(h, w,
271-
origin_y: my, origin_x: mx,
272-
height: by - my, width: bx - mx,
273-
blend: blend, visible: (w >= 0),
274-
yflip: yflip, xflip: xflip,
275-
yscale: yscale.is_a?(Symbol) ? yscale.as(Symbol) : yscale.as(Proc(Float64, Float64)),
276-
xscale: xscale.is_a?(Symbol) ? xscale.as(Symbol) : xscale.as(Proc(Float64, Float64)))
277270
else BrailleCanvas.new(h, w,
278271
origin_y: my, origin_x: mx,
279272
height: by - my, width: bx - mx,

0 commit comments

Comments
 (0)