gnutemplate 0.2.0.1 → 0.2.0.3
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 +4 -4
- data/lib/gnutemplate/version.rb +1 -1
- data/lib/gnutemplate.rb +4 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 94953b69a84fb220e788041a6294ea3b9f7fdbc1993e991bacb444a3d79e8039
|
4
|
+
data.tar.gz: b17b4f40c87e76fa3c3f8e594d7608f4766af565b83cb14473ae1788f1888046
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fd219a38376881c79437af60cd3c8f15b186b8b294f49f9c96bce1c9b53fbd46f4f87d31c6cb294586a220fecd6f16b78e4cc2adc781d2972b1e15c00c1f1424
|
7
|
+
data.tar.gz: c810af85e9d96939f6b6110629b38209cb3392d945978a9bf13e8a441a06ef8e5e2cc4f4d48991a8c55b1b0ed02e7e1533e95a96020d54a0a880041c1958b9e1
|
data/lib/gnutemplate/version.rb
CHANGED
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, :
|
408
|
+
module_function :note_line, :draw_line, :note_box, :draw_box, :note_histogram, :draw_histogram
|
408
409
|
end # Of module
|