nyaplot 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/nyaplot/plot.rb +5 -1
- data/lib/nyaplot/version.rb +1 -1
- metadata +2 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8d7a66e901b3706d68c66339dd22103793aaf347
|
4
|
+
data.tar.gz: 1f7ef28b004ad2454efc37213c5e1eac215c1ba8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a7a7db0f42e442132416f0f9b14c12410d94c9c745d4751fb437708780a3971eca77af8c922c8fd0712aec16a8fecec101b41f54ccbec3450987aff09e0243e6
|
7
|
+
data.tar.gz: 6cf66b48352d181890ea6749cec15b5a46ca1b2acf22c1e77d3a888d04e09a015d103384595fa4de4b49ca4f6df65945ac5398cdee2ca7248c80cfd4242949e2
|
data/README.md
CHANGED
@@ -9,7 +9,7 @@ Nyaplot is a compound word from 'Nya' and 'plot.' The word 'Nya' comes from an o
|
|
9
9
|
|
10
10
|
This software has been developed as a product in Google Summer of Code 2014 (GSoC2014). Visit the [website]((http://sciruby.com/blog/)) or [mailing list](https://groups.google.com/forum/#!forum/sciruby-dev) of SciRuby to see the progress of this project.
|
11
11
|
|
12
|
-
**Attention:
|
12
|
+
**Attention: Nyaplotjs was banned by rawgit.js and nyaplot v0.1.3 was released to fix that. Please update your nyaplot and re-excute each notebooks.**
|
13
13
|
|
14
14
|
## Demo
|
15
15
|
|
data/lib/nyaplot/plot.rb
CHANGED
@@ -34,8 +34,12 @@ module Nyaplot
|
|
34
34
|
# @return [Numeric] the angle to rotate x label (radian)
|
35
35
|
# @!attribute rotate_y_label
|
36
36
|
# @return [Numeric] the angle to rotate y label (radian)
|
37
|
+
# @!attribute x_scale
|
38
|
+
# @return [String] the type of scale ("linear", "log" and "pow" are supported.)
|
39
|
+
# @!attribute y_scale
|
40
|
+
# @return [String] the type of scale ("linear", "log" and "pow" are supported.)
|
37
41
|
define_properties(:diagrams, :filter)
|
38
|
-
define_group_properties(:options, [:width, :height, :margin, :xrange, :yrange, :x_label, :y_label, :bg_color, :grid_color, :legend, :legend_width, :legend_options, :zoom, :rotate_x_label, :rotate_y_label])
|
42
|
+
define_group_properties(:options, [:width, :height, :margin, :xrange, :yrange, :x_label, :y_label, :bg_color, :grid_color, :legend, :legend_width, :legend_options, :zoom, :rotate_x_label, :rotate_y_label, :x_scale, :y_scale])
|
39
43
|
|
40
44
|
def initialize(&block)
|
41
45
|
init_properties
|
data/lib/nyaplot/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nyaplot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Naoki Nishida
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-04-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -767,4 +767,3 @@ test_files:
|
|
767
767
|
- spec/nyaplot3d_spec.rb
|
768
768
|
- spec/nyaplot_spec.rb
|
769
769
|
- spec/spec_helper.rb
|
770
|
-
has_rdoc:
|