gnutemplate 0.2.0.1 → 0.2.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1f7582d157b2dacffbd2e11ea5b8a6467af3b88f911119e7d0596244e47a75a7
4
- data.tar.gz: 15b96ccd899342aeac9f20dbf075ceebb56cd475a32f2753f35e10ef7cc7dc9c
3
+ metadata.gz: 94953b69a84fb220e788041a6294ea3b9f7fdbc1993e991bacb444a3d79e8039
4
+ data.tar.gz: b17b4f40c87e76fa3c3f8e594d7608f4766af565b83cb14473ae1788f1888046
5
5
  SHA512:
6
- metadata.gz: face27d0ec1b486841b3ff35ccb67ee90c3750f55ce3b8aef154521ff536c246b1d6de8279b4e7d9924fee4679c62ea5f3dd1b858ac37220d40c82457e8a1b3f
7
- data.tar.gz: 497d5aaf03598153f560037c6f6ed842a17abf41f28fb41559bdc9a56774bb4aa115d1dcb9cc56f07e05baa51b7c27854d13c268e7375363d57c7a2738e9f942
6
+ metadata.gz: fd219a38376881c79437af60cd3c8f15b186b8b294f49f9c96bce1c9b53fbd46f4f87d31c6cb294586a220fecd6f16b78e4cc2adc781d2972b1e15c00c1f1424
7
+ data.tar.gz: c810af85e9d96939f6b6110629b38209cb3392d945978a9bf13e8a441a06ef8e5e2cc4f4d48991a8c55b1b0ed02e7e1533e95a96020d54a0a880041c1958b9e1
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Gnutemplate
4
- VERSION = "0.2.0.1"
4
+ VERSION = "0.2.0.3"
5
5
  end
data/lib/gnutemplate.rb CHANGED
@@ -214,6 +214,7 @@ module Gnutemplate
214
214
 
215
215
  end # Of if pileup..else
216
216
  end
217
+ module_function :histogram
217
218
 
218
219
  def note_histogram(data, labels: nil, pileup: true,
219
220
  xmin: nil, xmax: nil, ymin: 0, ymax: nil, bins: 10,
@@ -228,7 +229,7 @@ module Gnutemplate
228
229
  set output: file
229
230
  end
230
231
 
231
- args = histogram(data, labels: labels, pileup: pileup,
232
+ args = Gnutemplate.histogram(data, labels: labels, pileup: pileup,
232
233
  xmin: xmin, xmax: xmax, ymin: ymin, ymax: ymax, bins: bins,
233
234
  figsize: figsize, rotate_xtics: rotate_xtics,
234
235
  fill: fill, alpha: alpha, background: background)
@@ -324,7 +325,7 @@ module Gnutemplate
324
325
  set output: file
325
326
  end
326
327
 
327
- args = histogram(data, labels: labels, pileup: pileup,
328
+ args = Gnutemplate.histogram(data, labels: labels, pileup: pileup,
328
329
  xmin: xmin, xmax: xmax, ymin: ymin, ymax: ymax, bins: bins,
329
330
  figsize: figsize, rotate_xtics: rotate_xtics,
330
331
  fill: fill, alpha: alpha, background: background)
@@ -404,5 +405,5 @@ module Gnutemplate
404
405
 
405
406
  end # Of def function
406
407
 
407
- module_function :note_line, :draw_line, :note_box, :draw_box, :histogram, :note_histogram, :draw_histogram
408
+ module_function :note_line, :draw_line, :note_box, :draw_box, :note_histogram, :draw_histogram
408
409
  end # Of module
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.2.0.1
4
+ version: 0.2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - showata