Skip to content

Commit

Permalink
make the same smaller increment change to the 'Plot.rb' file, fixing …
Browse files Browse the repository at this point in the history
…the 'bad' example
  • Loading branch information
Jon Adams committed Dec 28, 2020
1 parent 07902fd commit b90b311
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/SVG/Graph/Plot.rb
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ def x_label_range
def get_x_values
min_value, max_value, @x_scale_division = x_label_range
rv = []
min_value.step( max_value + @x_scale_division , @x_scale_division ) {|v| rv << v}
min_value.step( max_value + (@x_scale_division/10), @x_scale_division ) {|v| rv << v}
return rv
end
alias :get_x_labels :get_x_values
Expand Down

0 comments on commit b90b311

Please sign in to comment.