Skip to content

Fix typos #66

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/unicode_plot/barplot.rb
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def print_row(out, row_index)
#
# Draws a horizontal barplot.
#
# @param text [Array<String>] The lables / captions of the bars.
# @param text [Array<String>] The labels / captions of the bars.
# @param heights [Array<Numeric>] The values / heights of the bars.
# @param xscale [nil,:log,:ln,:log10,:lg,:log2,:lb,callable]
# A function name symbol or callable object to transform the bar
Expand Down
2 changes: 1 addition & 1 deletion lib/unicode_plot/boxplot.rb
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ def print_row(out, row_index)
name = args[0]
data = args[1]
else
raise ArgumentError, "worng number of arguments"
raise ArgumentError, "wrong number of arguments"
end

if data.empty?
Expand Down
4 changes: 2 additions & 2 deletions lib/unicode_plot/scatterplot.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class Scatterplot < GridPlot
x = Array(args[0])
y = Array(args[1])
else
raise ArgumentError, "worng number of arguments"
raise ArgumentError, "wrong number of arguments"
end

plot = Scatterplot.new(x, y, canvas, **kw)
Expand All @@ -38,7 +38,7 @@ class Scatterplot < GridPlot
x = Array(args[0])
y = Array(args[1])
else
raise ArgumentError, "worng number of arguments"
raise ArgumentError, "wrong number of arguments"
end

color = color == :auto ? plot.next_color : color
Expand Down
Loading