gnutemplate 0.1.8 → 0.1.8.1
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 +2 -2
- 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: 1cea3ed18f9e9e2f8ad94a45ecb03646d674bc6288edd75ca1e2893e0aa2796a
|
|
4
|
+
data.tar.gz: 8134a7d3552bbb526b660dc141d36ca2586205c8b09455268adbb8edff290f7f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f4dbd320d3d84d7f1e622d3c3c4714c39b80516749b6a9d73f2dd03e2d26d2de25dc856decdd412697fcc177e016276045bf34faf9c53c23a49075f3ef08dc9a
|
|
7
|
+
data.tar.gz: 11ee10695415e929c5301f276892fd59b7a1801596e453613c8d7faf833d7a2b35d983b5ff762f232aa1a82193285339967d56ec5046162d41d2947b0b9adaf8
|
data/lib/gnutemplate/version.rb
CHANGED
data/lib/gnutemplate.rb
CHANGED
|
@@ -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[
|
|
192
|
+
[*f, using: 2, w: :histogram, t: labels[i], fillcolor: "rgb \"#{colors[i % 4]}\""]
|
|
193
193
|
end
|
|
194
194
|
|
|
195
195
|
plot *args
|
|
@@ -278,7 +278,7 @@ 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[
|
|
281
|
+
[*f, using: 2, w: :histogram, t: labels[i], fillcolor: "rgb \"#{colors[i % 4]}\""]
|
|
282
282
|
end
|
|
283
283
|
|
|
284
284
|
plot *args
|