matplotlib 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +1 -2
- data/lib/matplotlib/iruby.rb +2 -2
- data/lib/matplotlib/python/matplotlib_rb/__init__.py +0 -0
- data/lib/matplotlib/python/{ruby/matplotlib → matplotlib_rb}/backend_inline.py +0 -0
- data/lib/matplotlib/version.rb +1 -1
- data/matplotlib.gemspec +3 -3
- metadata +17 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: '031029dfffd069a1f568a7c371c48eb97e9d58ee1aa5896efabcab3a069d5be1'
|
4
|
+
data.tar.gz: 067573f2326b54a70cc57758a1b912527971fe35032fa2ec79ee293e2dc2587b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 104847e206ec576fe12634e872069f30b4be98dbcba8734694efe6b15136209cb9a3a9273ad02b4b311ea33fca14a91b7a024822fda6e1811b61fb9322c0613c
|
7
|
+
data.tar.gz: d05c2d5ab0bc0b62c5e62b965de47cf5e993f6d5d8bc479a5f7c19e8192010ade144438b322980a273ac76f31ae42a5c1ae8ebc251cc86b169703a84b89be494
|
data/README.md
CHANGED
@@ -42,7 +42,7 @@ This functionality can be enabled by calling `Matplotlib::IRuby.activate`.
|
|
42
42
|
require 'matplotlib/iruby'
|
43
43
|
Matplotlib::IRuby.activate
|
44
44
|
|
45
|
-
`matplotlib/iruby` also loads `matplotlib/pyplot`, so you can use `Matplotlib::Pyplot` module without explicitly
|
45
|
+
`matplotlib/iruby` also loads `matplotlib/pyplot`, so you can use `Matplotlib::Pyplot` module without explicitly requiring `matplotlib/pyplot`.
|
46
46
|
And this introduces a post execution hook which put figures that are created in a cell just below the execution result of the cell.
|
47
47
|
|
48
48
|
See ipynb files in [examples](examples) to see example usages.
|
@@ -61,4 +61,3 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/mrkn/m
|
|
61
61
|
## License
|
62
62
|
|
63
63
|
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
64
|
-
|
data/lib/matplotlib/iruby.rb
CHANGED
@@ -61,7 +61,7 @@ module Matplotlib
|
|
61
61
|
rescue SystemExit
|
62
62
|
content[:payload] << { source: :ask_exit }
|
63
63
|
rescue Exception => e
|
64
|
-
content =
|
64
|
+
content = error_content(e)
|
65
65
|
@session.send(:publish, :error, content)
|
66
66
|
end
|
67
67
|
|
@@ -120,7 +120,7 @@ module Matplotlib
|
|
120
120
|
nbagg: :nbAgg,
|
121
121
|
notebook: :nbAgg,
|
122
122
|
agg: :agg,
|
123
|
-
inline: 'module://
|
123
|
+
inline: 'module://matplotlib_rb.backend_inline',
|
124
124
|
}.freeze
|
125
125
|
|
126
126
|
BACKEND_GUI_MAP = Hash[GUI_BACKEND_MAP.select {|k, v| v }].freeze
|
File without changes
|
File without changes
|
data/lib/matplotlib/version.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
MATPLOTLIB_VERSION = "1.
|
1
|
+
MATPLOTLIB_VERSION = "1.1.0"
|
data/matplotlib.gemspec
CHANGED
@@ -23,8 +23,8 @@ Gem::Specification.new do |spec|
|
|
23
23
|
|
24
24
|
spec.add_dependency "pycall", ">= 1.0.0"
|
25
25
|
|
26
|
-
spec.add_development_dependency "bundler", "
|
27
|
-
spec.add_development_dependency "rake"
|
28
|
-
spec.add_development_dependency "rspec"
|
26
|
+
spec.add_development_dependency "bundler", ">= 1.17.2"
|
27
|
+
spec.add_development_dependency "rake"
|
28
|
+
spec.add_development_dependency "rspec"
|
29
29
|
spec.add_development_dependency "pry"
|
30
30
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: matplotlib
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kenta Murata
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-10-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pycall
|
@@ -28,44 +28,44 @@ dependencies:
|
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 1.17.2
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: 1.17.2
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rake
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
47
|
+
version: '0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - "
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
54
|
+
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rspec
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
61
|
+
version: '0'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - "
|
66
|
+
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
68
|
+
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: pry
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -105,7 +105,8 @@ files:
|
|
105
105
|
- lib/matplotlib/iruby.rb
|
106
106
|
- lib/matplotlib/polar_axes.rb
|
107
107
|
- lib/matplotlib/pyplot.rb
|
108
|
-
- lib/matplotlib/python/
|
108
|
+
- lib/matplotlib/python/matplotlib_rb/__init__.py
|
109
|
+
- lib/matplotlib/python/matplotlib_rb/backend_inline.py
|
109
110
|
- lib/matplotlib/spines.rb
|
110
111
|
- lib/matplotlib/version.rb
|
111
112
|
- matplotlib.gemspec
|
@@ -128,8 +129,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
128
129
|
- !ruby/object:Gem::Version
|
129
130
|
version: '0'
|
130
131
|
requirements: []
|
131
|
-
|
132
|
-
rubygems_version: 2.6.12
|
132
|
+
rubygems_version: 3.0.6
|
133
133
|
signing_key:
|
134
134
|
specification_version: 4
|
135
135
|
summary: matplotlib wrapper for Ruby
|