gnutemplate 0.1.8 → 0.1.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c69189fd4dac115b797679a47830cbc77c3c66d593f611ee5192159d331f6bbb
4
- data.tar.gz: 77dcfea02ef16af3f38d256802f3cdd583b81bb5cf14ad11f2dc07badf7edec6
3
+ metadata.gz: 3dd7398ce7190378ca93785011183b56aa25dea3c87ae8e358156582f238596e
4
+ data.tar.gz: eb5f9c6ab9d5750cc0c2bd404a0b922858b4af7cdb6b64429b702010d60c0ded
5
5
  SHA512:
6
- metadata.gz: 3ebcfa577e172cf2562a5111842ca926248fad462516b7fd6a1c7aaa847a7308b3c2f71fdfa05acf8c043cc55eea4808c04208b283cbfcc76e8fb464d7711733
7
- data.tar.gz: 308aca33a72e7900c1195d088529f16a84d7fcd44edbc191a68977a5125ff266e0d3de51a5ad83290572b6d67db4f4f5945a9ac6bd55d71cdfd56dcb92dd6333
6
+ metadata.gz: 27ec96672fd238aa3ef6e60f66f1b13832f29c6690d8ad17caf2cf2a1caacf7cb488be6c4863633242798ef2963750ef9a47432a6d6eb8366ca53f429d3b4b3b
7
+ data.tar.gz: c50e8c423f6aae5dff91ffdee866b2de055ccd82c57d5f1909ea83259113da98e309992c1471b7993e9d3f2b8416b79390ec5725c76af74108bbde502ccd6902
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Gnutemplate
4
- VERSION = "0.1.8"
4
+ VERSION = "0.1.8.2"
5
5
  end
data/lib/gnutemplate.rb CHANGED
@@ -173,7 +173,7 @@ module Gnutemplate
173
173
  set auto:"x"
174
174
  set :style, :data, :histogram
175
175
  set :style, :histogram, :cluster, gap:1
176
- set :style, :fill_solid, border:-1
176
+ set :style, :fill, solid: 1.0 - (alpha/100.0), border:-1
177
177
  set boxwidth:0.9
178
178
  set :xtic, :rotate, by: rotate_xtics, scale: 0
179
179
 
@@ -189,7 +189,7 @@ module Gnutemplate
189
189
  labels ||= (0...(freqs.length)).map(&:to_s)
190
190
 
191
191
  args = freqs.zip(labels).each_with_index.map do |(f, l), i|
192
- [*f, using: 2, :histogram, t: labels[i], fillcolor: "rgb \"#{colors[0 % 4]}\""]
192
+ [*f, using: 2, w: :histogram, t: labels[i], fillcolor: "rgb \"#{colors[i % 4]}\""]
193
193
  end
194
194
 
195
195
  plot *args
@@ -262,7 +262,7 @@ module Gnutemplate
262
262
  set auto:"x"
263
263
  set :style, :data, :histogram
264
264
  set :style, :histogram, :cluster, gap:1
265
- set :style, :fill_solid, border:-1
265
+ set :style, :fill, solid: 1.0 - (alpha/100.0), border:-1
266
266
  set boxwidth:0.9
267
267
  set :xtic, :rotate, by: rotate_xtics, scale: 0
268
268
 
@@ -278,14 +278,14 @@ module Gnutemplate
278
278
  labels ||= (0...(freqs.length)).map(&:to_s)
279
279
 
280
280
  args = freqs.zip(labels).each_with_index.map do |(f, l), i|
281
- [*f, using: 2, :histogram, t: labels[i], fillcolor: "rgb \"#{colors[0 % 4]}\""]
281
+ [*f, using: 2, w: :histogram, t: labels[i], fillcolor: "rgb \"#{colors[i % 4]}\""]
282
282
  end
283
283
 
284
284
  plot *args
285
-
286
- #plot [*freqs[0], using: 2, w: :histogram, t: labels[0], fillcolor: "rgb \"#{colors[0 % 4]}\""],
285
+ ,
287
286
  #[*freqs[1], using: 2, w: :histogram, t: labels[1], fillcolor: "rgb \"#{colors[1 % 4]}\""],
288
287
  #[*freqs[2], using: 2, w: :histogram, t: labels[2], fillcolor: "rgb \"#{colors[2 % 4]}\""]
288
+ #plot [*freqs[0], using: 2, w: :histogram, t: labels[0], fillcolor: "rgb \"#{colors[0 % 4]}\""]
289
289
 
290
290
  end # Of if pileup..else
291
291
  end # Of Numo.noteplot do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gnutemplate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - showata