Skip to content

Commit 2304234

Browse files
kojix2Copilot
andcommitted
Remove unsafe lineplot! kwargs wrapper and delegate directly to explicit keyword overload
Co-authored-by: Copilot <copilot@github.com>
1 parent d3636b0 commit 2304234

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/unicode_plot/interface/lineplot.cr

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -140,10 +140,6 @@ module UnicodePlot
140140
plot
141141
end
142142

143-
def lineplot!(plot : Plot, x : Array(Float64), y : Array(Float64), **kwargs) : Plot
144-
lineplot!(plot, x, y, **kwargs.merge({name: "", color: :auto.as(Symbol | UInt32 | {Int32, Int32, Int32})}))
145-
end
146-
147143
def lineplot!(plot : Plot, x : Array(T), y : Array(U), **kwargs) : Plot forall T, U
148144
lineplot!(plot, to_plot_f64(x), to_plot_f64(y), **kwargs)
149145
end

0 commit comments

Comments
 (0)