lib/arql/ext/array.rb in arql-0.3.25 vs lib/arql/ext/array.rb in arql-0.3.26
- old
+ new
@@ -182,10 +182,10 @@
define_method(type) do |*args|
plot_backend = YouPlot::Backends::UnicodePlot
params = Struct.new(:title, :width, :height, :border, :margin, :padding, :color, :xlabel,
:ylabel, :labels, :symbol, :xscale, :nbins, :closed, :canvas, :xlim, :ylim, :grid, :name) do
def to_hc
- {}
+ to_h.compact
end
end.new
fmt = 'xyy'
raw_data = map do |e|
if e.is_a?(Array)