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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8bdd0f52e766b5d109fcab86513a78fc32bc545718ac4aad1d6ccc6866b4a901
4
- data.tar.gz: 1471589b9ea27e5911ed81e1f8f3f647bb59e631530ef518e9deb3b93e80faf1
3
+ metadata.gz: 75bb1b87e62ac8956aa3bf5e6d61fca8abc7194f987629c247bbd7613bea1668
4
+ data.tar.gz: 1585233f679f8c94c1c596e6e89071f8e45dbba2e0003c91f06e4faf7e0b767f
5
5
  SHA512:
6
- metadata.gz: d10aa589ce07c7ab339f7814db637bc6f39888ae6627b7552a3e6b77d19fd9f06048f7da5e52cae618b8631004d3a2959ff788083e036de2ca3963e2522ecbdc
7
- data.tar.gz: 1a1ccc70707e0f8cee2287dc26e8386d52e83c860b6fe86d95fece16e60ae77d1bb48e69d1de926feae9ec53d443f35aac641561d9d704640f2c67dd311ea47c
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? { |i| i.is_a?(Array) && i[0].is_a?(Array) }
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)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GRCommons
4
- VERSION = '0.0.10'
4
+ VERSION = '0.0.11'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-gr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - kojix2