ruby-gr 0.0.10 → 0.0.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gr/plot.rb +3 -1
- data/lib/gr_commons/version.rb +1 -1
- 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: 75bb1b87e62ac8956aa3bf5e6d61fca8abc7194f987629c247bbd7613bea1668
|
4
|
+
data.tar.gz: 1585233f679f8c94c1c596e6e89071f8e45dbba2e0003c91f06e4faf7e0b767f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3e0ddfe6e2d814b0db8dca11fef8c8e00f07e95933140b6679d26706b7850ce14af7c0c67b12d29354c2320c38b94552ebc2431c991a9761a7a9ef3a5714d7a2
|
7
|
+
data.tar.gz: 86fb767cd9ab5654fcb68b104f9a594ee8e3ba496702c3173de4fe6a5a26620aec0df1716910f1fcadc09b0c018fe1c71289b9270cfaa2e4b08782c796923dd7
|
data/lib/gr/plot.rb
CHANGED
@@ -947,7 +947,9 @@ module GR
|
|
947
947
|
|
948
948
|
def plot_args(args, _fmt = :xys)
|
949
949
|
# FIXME
|
950
|
-
args = [args] unless args.all?
|
950
|
+
args = [args] unless args.all? do |i|
|
951
|
+
i.is_a?(Array) && (i[0].is_a?(Array) || narray?(i[0]))
|
952
|
+
end
|
951
953
|
args.map do |xyzc|
|
952
954
|
x, y, z, c = xyzc.map do |i|
|
953
955
|
if i.is_a?(Array) || narray?(i)
|
data/lib/gr_commons/version.rb
CHANGED