grada 2.1.4 → 2.1.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/grada.rb +0 -16
  2. metadata +1 -1
data/lib/grada.rb CHANGED
@@ -215,16 +215,8 @@ class Grada
215
215
  else
216
216
  raise NoPlotDataError if ! @y.nil? && @x.size != @y.size
217
217
 
218
- style = Gnuplot::Style.new do |ds|
219
- ds.index = 0
220
- STYLES.each do |style|
221
- ds.send("#{style}=", dic[style]) if dic[style]
222
- end
223
- end.to_s
224
-
225
218
  plot.data << Gnuplot::DataSet.new([@x,@y]) do |ds|
226
219
  ds.with = @opts[:with]
227
- ds.with += style
228
220
  end
229
221
  end
230
222
  end
@@ -249,16 +241,8 @@ class Grada
249
241
  plot.set "xtics #{@x.min},#{(@x.max-@x.min)/5},#{@x.max}"
250
242
  plot.set "tics out nomirror"
251
243
 
252
- style = Gnuplot::Style.new do |ds|
253
- ds.index = 0
254
- STYLES.each do |style|
255
- ds.send("#{style}=", dic[style]) if dic[style]
256
- end
257
- end.to_s
258
-
259
244
  plot.data << Gnuplot::DataSet.new(@x) do |ds|
260
245
  ds.with = 'boxes'
261
- ds.with += style
262
246
  ds.title = @opts[:x_label]
263
247
  ds.using = '($1):(1.0)'
264
248
  ds.smooth = 'freq'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: grada
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.4
4
+ version: 2.1.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: