toji 1.3.0 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -8
- data/example/koji_making.ipynb +15 -15
- data/example/koji_making.rb +1 -1
- data/example/koji_making.yaml +50 -0
- data/example/moromi.ipynb +18 -18
- data/example/moromi.rb +2 -2
- data/example/moromi.yaml +111 -0
- data/example/schedule.ipynb +32 -32
- data/example/schedule.yaml +61 -0
- data/example/schedule_file.ipynb +337 -0
- data/example/shubo.ipynb +12 -12
- data/example/shubo.rb +1 -1
- data/example/shubo.yaml +75 -0
- data/lib/toji.rb +1 -0
- data/lib/toji/brew.rb +0 -4
- data/lib/toji/brew/base.rb +13 -1
- data/lib/toji/brew/graph/progress.rb +12 -1
- data/lib/toji/brew/koji.rb +0 -66
- data/lib/toji/brew/moromi.rb +0 -168
- data/lib/toji/brew/shubo.rb +0 -107
- data/lib/toji/brew/state.rb +2 -2
- data/lib/toji/brew/state_record.rb +9 -19
- data/lib/toji/schedule/calendar.rb +21 -15
- data/lib/toji/version.rb +1 -1
- metadata +7 -2
@@ -0,0 +1,61 @@
|
|
1
|
+
products:
|
2
|
+
- name: 仕1
|
3
|
+
description: 姫野国夫による酒母省略仕込
|
4
|
+
recipe: :simple_sokujo_himeno
|
5
|
+
scale: 600
|
6
|
+
round: 0
|
7
|
+
koji_dates: 2020-2-24
|
8
|
+
rice_dates: 2020-3-1
|
9
|
+
moto_days: 1
|
10
|
+
odori_days: 1
|
11
|
+
- name: 仕2
|
12
|
+
description: 姫野国夫による酒母省略仕込
|
13
|
+
recipe: :simple_sokujo_himeno
|
14
|
+
scale: 550
|
15
|
+
round: 0
|
16
|
+
koji_dates: 2020-2-27
|
17
|
+
rice_dates: 2020-3-3
|
18
|
+
- name: 仕3
|
19
|
+
description: 灘における仕込配合
|
20
|
+
recipe: :sokujo_nada
|
21
|
+
scale: 900
|
22
|
+
round: 0
|
23
|
+
koji_dates:
|
24
|
+
- 2020-2-20
|
25
|
+
- 2020-3-2
|
26
|
+
rice_dates:
|
27
|
+
- 2020-2-25
|
28
|
+
- 2020-3-9
|
29
|
+
- name: 仕4
|
30
|
+
description: 酒造教本による標準型仕込配合
|
31
|
+
recipe: :sokujo_textbook
|
32
|
+
scale: 900
|
33
|
+
round: 0
|
34
|
+
koji_dates:
|
35
|
+
- 2020-2-20
|
36
|
+
- 2020-3-5
|
37
|
+
rice_dates:
|
38
|
+
- 2020-2-25
|
39
|
+
- 2020-3-11
|
40
|
+
- name: 仕5
|
41
|
+
description: 灘における仕込配合
|
42
|
+
recipe: :sokujo_nada
|
43
|
+
scale: 900
|
44
|
+
round: 0
|
45
|
+
koji_dates:
|
46
|
+
- 2020-2-27
|
47
|
+
- 2020-3-9
|
48
|
+
rice_dates:
|
49
|
+
- 2020-3-3
|
50
|
+
- 2020-3-16
|
51
|
+
- name: 仕6
|
52
|
+
description: 酒造教本による標準型仕込配合
|
53
|
+
recipe: :sokujo_textbook
|
54
|
+
scale: 900
|
55
|
+
round: 0
|
56
|
+
koji_dates:
|
57
|
+
- 2020-2-27
|
58
|
+
- 2020-3-12
|
59
|
+
rice_dates:
|
60
|
+
- 2020-3-3
|
61
|
+
- 2020-3-18
|
@@ -0,0 +1,337 @@
|
|
1
|
+
{
|
2
|
+
"cells": [
|
3
|
+
{
|
4
|
+
"cell_type": "code",
|
5
|
+
"execution_count": 3,
|
6
|
+
"metadata": {
|
7
|
+
"scrolled": false
|
8
|
+
},
|
9
|
+
"outputs": [
|
10
|
+
{
|
11
|
+
"name": "stdout",
|
12
|
+
"output_type": "stream",
|
13
|
+
"text": [
|
14
|
+
"仕1 姫野国夫による酒母省略仕込\n"
|
15
|
+
]
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"data": {
|
19
|
+
"text/html": [
|
20
|
+
"\n",
|
21
|
+
" <script>\n",
|
22
|
+
" requirejs.config({paths: { 'plotly': ['https://cdn.plot.ly/plotly-latest.min'] }})\n",
|
23
|
+
" </script>\n",
|
24
|
+
"\n",
|
25
|
+
"\n",
|
26
|
+
"<div id=\"39130064-7a13-4f3e-b33a-3bc1b965112b\" style=\"height: 100%; width: 100%;\"></div>\n",
|
27
|
+
"\n",
|
28
|
+
"<script>\n",
|
29
|
+
" require(['plotly'], function(Plotly) { \n",
|
30
|
+
"Plotly.newPlot(\n",
|
31
|
+
" '39130064-7a13-4f3e-b33a-3bc1b965112b',\n",
|
32
|
+
" [{\"type\":\"table\",\"header\":{\"values\":[\"\",\"moto\",\"soe\",\"naka\",\"tome\",\"yodan\",\"total\"]},\"cells\":{\"values\":[[\"rice_total\",\"rice\",\"koji\",\"alcohol\",\"water\",\"lactic_acid\"],[35.0,\"\",35.0,\"\",123.0,0.8],[65.0,65.0,\"\",\"\",\"\",\"\"],[200.0,150.0,50.0,\"\",200.0,\"\"],[300.0,245.0,55.0,\"\",400.0,\"\"],[\"\",\"\",\"\",\"\",128.0,\"\"],[600.0,460.0,140.0,\"\",851.0,0.8]]}}],\n",
|
33
|
+
" {\"height\":350},\n",
|
34
|
+
" {\"linkText\":\"Export to plot.ly\",\"showLink\":true}\n",
|
35
|
+
")\n",
|
36
|
+
"\n",
|
37
|
+
"window.addEventListener('resize', function() {\n",
|
38
|
+
" Plotly.Plots.resize(document.getElementById('39130064-7a13-4f3e-b33a-3bc1b965112b'))\n",
|
39
|
+
"})\n",
|
40
|
+
" }) \n",
|
41
|
+
"</script>"
|
42
|
+
],
|
43
|
+
"text/plain": [
|
44
|
+
"#<Plotly::Offline::HTML:0x00007f9f66a736d8 @id=\"39130064-7a13-4f3e-b33a-3bc1b965112b\", @data=[{:type=>:table, :header=>{:values=>[\"\", :moto, :soe, :naka, :tome, :yodan, :total]}, :cells=>{:values=>[[:rice_total, :rice, :koji, :alcohol, :water, :lactic_acid], [35.0, \"\", 35.0, \"\", 123.0, 0.8], [65.0, 65.0, \"\", \"\", \"\", \"\"], [200.0, 150.0, 50.0, \"\", 200.0, \"\"], [300.0, 245.0, 55.0, \"\", 400.0, \"\"], [\"\", \"\", \"\", \"\", 128.0, \"\"], [600.0, 460.0, 140.0, \"\", 851.0, 0.8]]}}], @layout={:height=>350}, @config={:linkText=>\"Export to plot.ly\", :showLink=>true}, @embedded=true>"
|
45
|
+
]
|
46
|
+
},
|
47
|
+
"metadata": {},
|
48
|
+
"output_type": "display_data"
|
49
|
+
},
|
50
|
+
{
|
51
|
+
"name": "stdout",
|
52
|
+
"output_type": "stream",
|
53
|
+
"text": [
|
54
|
+
"仕2 姫野国夫による酒母省略仕込\n"
|
55
|
+
]
|
56
|
+
},
|
57
|
+
{
|
58
|
+
"data": {
|
59
|
+
"text/html": [
|
60
|
+
"\n",
|
61
|
+
" <script>\n",
|
62
|
+
" requirejs.config({paths: { 'plotly': ['https://cdn.plot.ly/plotly-latest.min'] }})\n",
|
63
|
+
" </script>\n",
|
64
|
+
"\n",
|
65
|
+
"\n",
|
66
|
+
"<div id=\"2ed48f7b-70a7-4bd1-ae81-828cbfa7f566\" style=\"height: 100%; width: 100%;\"></div>\n",
|
67
|
+
"\n",
|
68
|
+
"<script>\n",
|
69
|
+
" require(['plotly'], function(Plotly) { \n",
|
70
|
+
"Plotly.newPlot(\n",
|
71
|
+
" '2ed48f7b-70a7-4bd1-ae81-828cbfa7f566',\n",
|
72
|
+
" [{\"type\":\"table\",\"header\":{\"values\":[\"\",\"moto\",\"soe\",\"naka\",\"tome\",\"yodan\",\"total\"]},\"cells\":{\"values\":[[\"rice_total\",\"rice\",\"koji\",\"alcohol\",\"water\",\"lactic_acid\"],[32.0,\"\",32.0,\"\",112.0,0.733],[60.0,60.0,\"\",\"\",\"\",\"\"],[184.0,138.0,46.0,\"\",183.0,\"\"],[275.0,225.0,50.0,\"\",367.0,\"\"],[\"\",\"\",\"\",\"\",117.0,\"\"],[551.0,423.0,128.0,\"\",779.0,0.733]]}}],\n",
|
73
|
+
" {\"height\":350},\n",
|
74
|
+
" {\"linkText\":\"Export to plot.ly\",\"showLink\":true}\n",
|
75
|
+
")\n",
|
76
|
+
"\n",
|
77
|
+
"window.addEventListener('resize', function() {\n",
|
78
|
+
" Plotly.Plots.resize(document.getElementById('2ed48f7b-70a7-4bd1-ae81-828cbfa7f566'))\n",
|
79
|
+
"})\n",
|
80
|
+
" }) \n",
|
81
|
+
"</script>"
|
82
|
+
],
|
83
|
+
"text/plain": [
|
84
|
+
"#<Plotly::Offline::HTML:0x00007f9f66aa4418 @id=\"2ed48f7b-70a7-4bd1-ae81-828cbfa7f566\", @data=[{:type=>:table, :header=>{:values=>[\"\", :moto, :soe, :naka, :tome, :yodan, :total]}, :cells=>{:values=>[[:rice_total, :rice, :koji, :alcohol, :water, :lactic_acid], [32.0, \"\", 32.0, \"\", 112.0, 0.733], [60.0, 60.0, \"\", \"\", \"\", \"\"], [184.0, 138.0, 46.0, \"\", 183.0, \"\"], [275.0, 225.0, 50.0, \"\", 367.0, \"\"], [\"\", \"\", \"\", \"\", 117.0, \"\"], [551.0, 423.0, 128.0, \"\", 779.0, 0.733]]}}], @layout={:height=>350}, @config={:linkText=>\"Export to plot.ly\", :showLink=>true}, @embedded=true>"
|
85
|
+
]
|
86
|
+
},
|
87
|
+
"metadata": {},
|
88
|
+
"output_type": "display_data"
|
89
|
+
},
|
90
|
+
{
|
91
|
+
"name": "stdout",
|
92
|
+
"output_type": "stream",
|
93
|
+
"text": [
|
94
|
+
"仕3 灘における仕込配合\n"
|
95
|
+
]
|
96
|
+
},
|
97
|
+
{
|
98
|
+
"data": {
|
99
|
+
"text/html": [
|
100
|
+
"\n",
|
101
|
+
" <script>\n",
|
102
|
+
" requirejs.config({paths: { 'plotly': ['https://cdn.plot.ly/plotly-latest.min'] }})\n",
|
103
|
+
" </script>\n",
|
104
|
+
"\n",
|
105
|
+
"\n",
|
106
|
+
"<div id=\"7798a74d-847a-4159-ba5c-50680a26309e\" style=\"height: 100%; width: 100%;\"></div>\n",
|
107
|
+
"\n",
|
108
|
+
"<script>\n",
|
109
|
+
" require(['plotly'], function(Plotly) { \n",
|
110
|
+
"Plotly.newPlot(\n",
|
111
|
+
" '7798a74d-847a-4159-ba5c-50680a26309e',\n",
|
112
|
+
" [{\"type\":\"table\",\"header\":{\"values\":[\"\",\"moto\",\"soe\",\"naka\",\"tome\",\"alcohol\",\"total\"]},\"cells\":{\"values\":[[\"rice_total\",\"rice\",\"koji\",\"alcohol\",\"water\",\"lactic_acid\"],[63.0,42.0,21.0,\"\",77.0,0.524],[143.0,98.0,45.0,\"\",122.0,\"\"],[254.0,190.0,64.0,\"\",302.0,\"\"],[440.0,366.0,74.0,\"\",599.0,\"\"],[\"\",\"\",\"\",405.0,\"\",\"\"],[900.0,696.0,204.0,405.0,1100.0,0.524]]}}],\n",
|
113
|
+
" {\"height\":350},\n",
|
114
|
+
" {\"linkText\":\"Export to plot.ly\",\"showLink\":true}\n",
|
115
|
+
")\n",
|
116
|
+
"\n",
|
117
|
+
"window.addEventListener('resize', function() {\n",
|
118
|
+
" Plotly.Plots.resize(document.getElementById('7798a74d-847a-4159-ba5c-50680a26309e'))\n",
|
119
|
+
"})\n",
|
120
|
+
" }) \n",
|
121
|
+
"</script>"
|
122
|
+
],
|
123
|
+
"text/plain": [
|
124
|
+
"#<Plotly::Offline::HTML:0x00007f9f64356190 @id=\"7798a74d-847a-4159-ba5c-50680a26309e\", @data=[{:type=>:table, :header=>{:values=>[\"\", :moto, :soe, :naka, :tome, :alcohol, :total]}, :cells=>{:values=>[[:rice_total, :rice, :koji, :alcohol, :water, :lactic_acid], [63.0, 42.0, 21.0, \"\", 77.0, 0.524], [143.0, 98.0, 45.0, \"\", 122.0, \"\"], [254.0, 190.0, 64.0, \"\", 302.0, \"\"], [440.0, 366.0, 74.0, \"\", 599.0, \"\"], [\"\", \"\", \"\", 405.0, \"\", \"\"], [900.0, 696.0, 204.0, 405.0, 1100.0, 0.524]]}}], @layout={:height=>350}, @config={:linkText=>\"Export to plot.ly\", :showLink=>true}, @embedded=true>"
|
125
|
+
]
|
126
|
+
},
|
127
|
+
"metadata": {},
|
128
|
+
"output_type": "display_data"
|
129
|
+
},
|
130
|
+
{
|
131
|
+
"name": "stdout",
|
132
|
+
"output_type": "stream",
|
133
|
+
"text": [
|
134
|
+
"仕4 酒造教本による標準型仕込配合\n"
|
135
|
+
]
|
136
|
+
},
|
137
|
+
{
|
138
|
+
"data": {
|
139
|
+
"text/html": [
|
140
|
+
"\n",
|
141
|
+
" <script>\n",
|
142
|
+
" requirejs.config({paths: { 'plotly': ['https://cdn.plot.ly/plotly-latest.min'] }})\n",
|
143
|
+
" </script>\n",
|
144
|
+
"\n",
|
145
|
+
"\n",
|
146
|
+
"<div id=\"24cc1c11-7b4e-4d22-99f6-e83c76860db3\" style=\"height: 100%; width: 100%;\"></div>\n",
|
147
|
+
"\n",
|
148
|
+
"<script>\n",
|
149
|
+
" require(['plotly'], function(Plotly) { \n",
|
150
|
+
"Plotly.newPlot(\n",
|
151
|
+
" '24cc1c11-7b4e-4d22-99f6-e83c76860db3',\n",
|
152
|
+
" [{\"type\":\"table\",\"header\":{\"values\":[\"\",\"moto\",\"soe\",\"naka\",\"tome\",\"yodan\",\"total\"]},\"cells\":{\"values\":[[\"rice_total\",\"rice\",\"koji\",\"alcohol\",\"water\",\"lactic_acid\"],[59.0,41.0,18.0,\"\",63.0,0.432],[126.0,90.0,36.0,\"\",117.0,\"\"],[248.0,194.0,54.0,\"\",297.0,\"\"],[396.0,324.0,72.0,\"\",567.0,\"\"],[72.0,72.0,\"\",\"\",108.0,\"\"],[901.0,721.0,180.0,\"\",1152.0,0.432]]}}],\n",
|
153
|
+
" {\"height\":350},\n",
|
154
|
+
" {\"linkText\":\"Export to plot.ly\",\"showLink\":true}\n",
|
155
|
+
")\n",
|
156
|
+
"\n",
|
157
|
+
"window.addEventListener('resize', function() {\n",
|
158
|
+
" Plotly.Plots.resize(document.getElementById('24cc1c11-7b4e-4d22-99f6-e83c76860db3'))\n",
|
159
|
+
"})\n",
|
160
|
+
" }) \n",
|
161
|
+
"</script>"
|
162
|
+
],
|
163
|
+
"text/plain": [
|
164
|
+
"#<Plotly::Offline::HTML:0x00007f9f643864f8 @id=\"24cc1c11-7b4e-4d22-99f6-e83c76860db3\", @data=[{:type=>:table, :header=>{:values=>[\"\", :moto, :soe, :naka, :tome, :yodan, :total]}, :cells=>{:values=>[[:rice_total, :rice, :koji, :alcohol, :water, :lactic_acid], [59.0, 41.0, 18.0, \"\", 63.0, 0.432], [126.0, 90.0, 36.0, \"\", 117.0, \"\"], [248.0, 194.0, 54.0, \"\", 297.0, \"\"], [396.0, 324.0, 72.0, \"\", 567.0, \"\"], [72.0, 72.0, \"\", \"\", 108.0, \"\"], [901.0, 721.0, 180.0, \"\", 1152.0, 0.432]]}}], @layout={:height=>350}, @config={:linkText=>\"Export to plot.ly\", :showLink=>true}, @embedded=true>"
|
165
|
+
]
|
166
|
+
},
|
167
|
+
"metadata": {},
|
168
|
+
"output_type": "display_data"
|
169
|
+
},
|
170
|
+
{
|
171
|
+
"name": "stdout",
|
172
|
+
"output_type": "stream",
|
173
|
+
"text": [
|
174
|
+
"仕5 灘における仕込配合\n"
|
175
|
+
]
|
176
|
+
},
|
177
|
+
{
|
178
|
+
"data": {
|
179
|
+
"text/html": [
|
180
|
+
"\n",
|
181
|
+
" <script>\n",
|
182
|
+
" requirejs.config({paths: { 'plotly': ['https://cdn.plot.ly/plotly-latest.min'] }})\n",
|
183
|
+
" </script>\n",
|
184
|
+
"\n",
|
185
|
+
"\n",
|
186
|
+
"<div id=\"ca599c2f-3651-4ffa-81c5-47869735f251\" style=\"height: 100%; width: 100%;\"></div>\n",
|
187
|
+
"\n",
|
188
|
+
"<script>\n",
|
189
|
+
" require(['plotly'], function(Plotly) { \n",
|
190
|
+
"Plotly.newPlot(\n",
|
191
|
+
" 'ca599c2f-3651-4ffa-81c5-47869735f251',\n",
|
192
|
+
" [{\"type\":\"table\",\"header\":{\"values\":[\"\",\"moto\",\"soe\",\"naka\",\"tome\",\"alcohol\",\"total\"]},\"cells\":{\"values\":[[\"rice_total\",\"rice\",\"koji\",\"alcohol\",\"water\",\"lactic_acid\"],[63.0,42.0,21.0,\"\",77.0,0.524],[143.0,98.0,45.0,\"\",122.0,\"\"],[254.0,190.0,64.0,\"\",302.0,\"\"],[440.0,366.0,74.0,\"\",599.0,\"\"],[\"\",\"\",\"\",405.0,\"\",\"\"],[900.0,696.0,204.0,405.0,1100.0,0.524]]}}],\n",
|
193
|
+
" {\"height\":350},\n",
|
194
|
+
" {\"linkText\":\"Export to plot.ly\",\"showLink\":true}\n",
|
195
|
+
")\n",
|
196
|
+
"\n",
|
197
|
+
"window.addEventListener('resize', function() {\n",
|
198
|
+
" Plotly.Plots.resize(document.getElementById('ca599c2f-3651-4ffa-81c5-47869735f251'))\n",
|
199
|
+
"})\n",
|
200
|
+
" }) \n",
|
201
|
+
"</script>"
|
202
|
+
],
|
203
|
+
"text/plain": [
|
204
|
+
"#<Plotly::Offline::HTML:0x00007f9f66aede10 @id=\"ca599c2f-3651-4ffa-81c5-47869735f251\", @data=[{:type=>:table, :header=>{:values=>[\"\", :moto, :soe, :naka, :tome, :alcohol, :total]}, :cells=>{:values=>[[:rice_total, :rice, :koji, :alcohol, :water, :lactic_acid], [63.0, 42.0, 21.0, \"\", 77.0, 0.524], [143.0, 98.0, 45.0, \"\", 122.0, \"\"], [254.0, 190.0, 64.0, \"\", 302.0, \"\"], [440.0, 366.0, 74.0, \"\", 599.0, \"\"], [\"\", \"\", \"\", 405.0, \"\", \"\"], [900.0, 696.0, 204.0, 405.0, 1100.0, 0.524]]}}], @layout={:height=>350}, @config={:linkText=>\"Export to plot.ly\", :showLink=>true}, @embedded=true>"
|
205
|
+
]
|
206
|
+
},
|
207
|
+
"metadata": {},
|
208
|
+
"output_type": "display_data"
|
209
|
+
},
|
210
|
+
{
|
211
|
+
"name": "stdout",
|
212
|
+
"output_type": "stream",
|
213
|
+
"text": [
|
214
|
+
"仕6 酒造教本による標準型仕込配合\n"
|
215
|
+
]
|
216
|
+
},
|
217
|
+
{
|
218
|
+
"data": {
|
219
|
+
"text/html": [
|
220
|
+
"\n",
|
221
|
+
" <script>\n",
|
222
|
+
" requirejs.config({paths: { 'plotly': ['https://cdn.plot.ly/plotly-latest.min'] }})\n",
|
223
|
+
" </script>\n",
|
224
|
+
"\n",
|
225
|
+
"\n",
|
226
|
+
"<div id=\"8e361747-1c89-45d0-b67a-9e8b300479c8\" style=\"height: 100%; width: 100%;\"></div>\n",
|
227
|
+
"\n",
|
228
|
+
"<script>\n",
|
229
|
+
" require(['plotly'], function(Plotly) { \n",
|
230
|
+
"Plotly.newPlot(\n",
|
231
|
+
" '8e361747-1c89-45d0-b67a-9e8b300479c8',\n",
|
232
|
+
" [{\"type\":\"table\",\"header\":{\"values\":[\"\",\"moto\",\"soe\",\"naka\",\"tome\",\"yodan\",\"total\"]},\"cells\":{\"values\":[[\"rice_total\",\"rice\",\"koji\",\"alcohol\",\"water\",\"lactic_acid\"],[59.0,41.0,18.0,\"\",63.0,0.432],[126.0,90.0,36.0,\"\",117.0,\"\"],[248.0,194.0,54.0,\"\",297.0,\"\"],[396.0,324.0,72.0,\"\",567.0,\"\"],[72.0,72.0,\"\",\"\",108.0,\"\"],[901.0,721.0,180.0,\"\",1152.0,0.432]]}}],\n",
|
233
|
+
" {\"height\":350},\n",
|
234
|
+
" {\"linkText\":\"Export to plot.ly\",\"showLink\":true}\n",
|
235
|
+
")\n",
|
236
|
+
"\n",
|
237
|
+
"window.addEventListener('resize', function() {\n",
|
238
|
+
" Plotly.Plots.resize(document.getElementById('8e361747-1c89-45d0-b67a-9e8b300479c8'))\n",
|
239
|
+
"})\n",
|
240
|
+
" }) \n",
|
241
|
+
"</script>"
|
242
|
+
],
|
243
|
+
"text/plain": [
|
244
|
+
"#<Plotly::Offline::HTML:0x00007f9f66b1d688 @id=\"8e361747-1c89-45d0-b67a-9e8b300479c8\", @data=[{:type=>:table, :header=>{:values=>[\"\", :moto, :soe, :naka, :tome, :yodan, :total]}, :cells=>{:values=>[[:rice_total, :rice, :koji, :alcohol, :water, :lactic_acid], [59.0, 41.0, 18.0, \"\", 63.0, 0.432], [126.0, 90.0, 36.0, \"\", 117.0, \"\"], [248.0, 194.0, 54.0, \"\", 297.0, \"\"], [396.0, 324.0, 72.0, \"\", 567.0, \"\"], [72.0, 72.0, \"\", \"\", 108.0, \"\"], [901.0, 721.0, 180.0, \"\", 1152.0, 0.432]]}}], @layout={:height=>350}, @config={:linkText=>\"Export to plot.ly\", :showLink=>true}, @embedded=true>"
|
245
|
+
]
|
246
|
+
},
|
247
|
+
"metadata": {},
|
248
|
+
"output_type": "display_data"
|
249
|
+
},
|
250
|
+
{
|
251
|
+
"data": {
|
252
|
+
"text/html": [
|
253
|
+
"\n",
|
254
|
+
" <script>\n",
|
255
|
+
" requirejs.config({paths: { 'plotly': ['https://cdn.plot.ly/plotly-latest.min'] }})\n",
|
256
|
+
" </script>\n",
|
257
|
+
"\n",
|
258
|
+
"\n",
|
259
|
+
"<div id=\"49661286-297c-4903-b104-ec162ad2613a\" style=\"height: 100%; width: 100%;\"></div>\n",
|
260
|
+
"\n",
|
261
|
+
"<script>\n",
|
262
|
+
" require(['plotly'], function(Plotly) { \n",
|
263
|
+
"Plotly.newPlot(\n",
|
264
|
+
" '49661286-297c-4903-b104-ec162ad2613a',\n",
|
265
|
+
" [{\"type\":\"table\",\"header\":{\"values\":[\"date\",\"moto_koji\",\"moromi_koji\",\"moto\",\"soe\",\"naka\",\"tome\",\"yodan\"]},\"cells\":{\"values\":[[\"02/20\",\"02/21\",\"02/22\",\"02/23\",\"02/24\",\"02/25\",\"02/26\",\"02/27\",\"02/28\",\"02/29\",\"03/01\",\"03/02\",\"03/03\",\"03/04\",\"03/05\",\"03/06\",\"03/07\",\"03/08\",\"03/09\",\"03/10\",\"03/11\",\"03/12\",\"03/13\",\"03/14\",\"03/15\",\"03/16\",\"03/17\",\"03/18\",\"03/19\",\"03/20\",\"03/21\",\"03/22\"],[\"仕3: 21\\u003cbr\\u003e仕4: 18\",\"\",\"\",\"\",\"\",\"\",\"\",\"仕5: 21\\u003cbr\\u003e仕6: 18\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],[\"\",\"\",\"\",\"\",\"仕1: 140\",\"\",\"\",\"仕2: 128\",\"\",\"\",\"\",\"仕3: 183\",\"\",\"\",\"仕4: 162\",\"\",\"\",\"\",\"仕5: 183\",\"\",\"\",\"仕6: 162\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],[\"\",\"\",\"\",\"\",\"\",\"仕3: 42\\u003cbr\\u003e仕4: 41\",\"\",\"\",\"\",\"\",\"仕1: 0\",\"\",\"仕2: 0\\u003cbr\\u003e仕5: 42\\u003cbr\\u003e仕6: 41\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"仕1: 65\",\"\",\"仕2: 60\",\"\",\"\",\"\",\"\",\"仕3: 98\",\"\",\"仕4: 90\",\"\",\"\",\"\",\"\",\"仕5: 98\",\"\",\"仕6: 90\",\"\",\"\",\"\",\"\"],[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"仕1: 150\",\"\",\"\",\"仕2: 138\",\"\",\"\",\"\",\"仕3: 190\",\"\",\"仕4: 194\",\"\",\"\",\"\",\"\",\"仕5: 190\",\"\",\"仕6: 194\",\"\",\"\"],[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"仕1: 245\",\"\",\"\",\"仕2: 225\",\"\",\"\",\"\",\"仕3: 366\",\"\",\"仕4: 324\",\"\",\"\",\"\",\"\",\"仕5: 366\",\"\",\"仕6: 324\",\"\"],[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"仕4: 72\",\"\",\"\",\"\",\"\",\"\",\"\",\"仕6: 72\"]]}}],\n",
|
266
|
+
" {\"height\":1000},\n",
|
267
|
+
" {\"linkText\":\"Export to plot.ly\",\"showLink\":true}\n",
|
268
|
+
")\n",
|
269
|
+
"\n",
|
270
|
+
"window.addEventListener('resize', function() {\n",
|
271
|
+
" Plotly.Plots.resize(document.getElementById('49661286-297c-4903-b104-ec162ad2613a'))\n",
|
272
|
+
"})\n",
|
273
|
+
" }) \n",
|
274
|
+
"</script>"
|
275
|
+
],
|
276
|
+
"text/plain": [
|
277
|
+
"#<Plotly::Offline::HTML:0x00007f9f639ab050 @id=\"49661286-297c-4903-b104-ec162ad2613a\", @data=[{:type=>:table, :header=>{:values=>[:date, :moto_koji, :moromi_koji, :moto, :soe, :naka, :tome, :yodan]}, :cells=>{:values=>[[\"02/20\", \"02/21\", \"02/22\", \"02/23\", \"02/24\", \"02/25\", \"02/26\", \"02/27\", \"02/28\", \"02/29\", \"03/01\", \"03/02\", \"03/03\", \"03/04\", \"03/05\", \"03/06\", \"03/07\", \"03/08\", \"03/09\", \"03/10\", \"03/11\", \"03/12\", \"03/13\", \"03/14\", \"03/15\", \"03/16\", \"03/17\", \"03/18\", \"03/19\", \"03/20\", \"03/21\", \"03/22\"], [\"仕3: 21<br>仕4: 18\", \"\", \"\", \"\", \"\", \"\", \"\", \"仕5: 21<br>仕6: 18\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\"], [\"\", \"\", \"\", \"\", \"仕1: 140\", \"\", \"\", \"仕2: 128\", \"\", \"\", \"\", \"仕3: 183\", \"\", \"\", \"仕4: 162\", \"\", \"\", \"\", \"仕5: 183\", \"\", \"\", \"仕6: 162\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\"], [\"\", \"\", \"\", \"\", \"\", \"仕3: 42<br>仕4: 41\", \"\", \"\", \"\", \"\", \"仕1: 0\", \"\", \"仕2: 0<br>仕5: 42<br>仕6: 41\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\"], [\"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"仕1: 65\", \"\", \"仕2: 60\", \"\", \"\", \"\", \"\", \"仕3: 98\", \"\", \"仕4: 90\", \"\", \"\", \"\", \"\", \"仕5: 98\", \"\", \"仕6: 90\", \"\", \"\", \"\", \"\"], [\"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"仕1: 150\", \"\", \"\", \"仕2: 138\", \"\", \"\", \"\", \"仕3: 190\", \"\", \"仕4: 194\", \"\", \"\", \"\", \"\", \"仕5: 190\", \"\", \"仕6: 194\", \"\", \"\"], [\"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"仕1: 245\", \"\", \"\", \"仕2: 225\", \"\", \"\", \"\", \"仕3: 366\", \"\", \"仕4: 324\", \"\", \"\", \"\", \"\", \"仕5: 366\", \"\", \"仕6: 324\", \"\"], [\"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"仕4: 72\", \"\", \"\", \"\", \"\", \"\", \"\", \"仕6: 72\"]]}}], @layout={:height=>1000}, @config={:linkText=>\"Export to plot.ly\", :showLink=>true}, @embedded=true>"
|
278
|
+
]
|
279
|
+
},
|
280
|
+
"metadata": {},
|
281
|
+
"output_type": "display_data"
|
282
|
+
},
|
283
|
+
{
|
284
|
+
"data": {
|
285
|
+
"text/plain": [
|
286
|
+
"#<CZTop::Socket::PUB:0x7f9f6818f480 last_endpoint=\"tcp://127.0.0.1:49446\">"
|
287
|
+
]
|
288
|
+
},
|
289
|
+
"execution_count": 3,
|
290
|
+
"metadata": {},
|
291
|
+
"output_type": "execute_result"
|
292
|
+
}
|
293
|
+
],
|
294
|
+
"source": [
|
295
|
+
"$LOAD_PATH << File.dirname(__FILE__) + \"/../lib\"\n",
|
296
|
+
"require 'toji'\n",
|
297
|
+
"require 'rbplotly'\n",
|
298
|
+
"\n",
|
299
|
+
"cal = Toji::Schedule::Calendar.load_yaml_file(\"schedule.yaml\")\n",
|
300
|
+
"\n",
|
301
|
+
"cal.products.each {|product|\n",
|
302
|
+
" puts \"%s %s\" % [product.name, product.description]\n",
|
303
|
+
" \n",
|
304
|
+
" product.recipe.table.tap {|t|\n",
|
305
|
+
" t.layout.height = 350\n",
|
306
|
+
" }.show\n",
|
307
|
+
"}\n",
|
308
|
+
"\n",
|
309
|
+
"cal.table.tap {|t|\n",
|
310
|
+
" t.layout.height = 1000\n",
|
311
|
+
"}.show"
|
312
|
+
]
|
313
|
+
},
|
314
|
+
{
|
315
|
+
"cell_type": "code",
|
316
|
+
"execution_count": null,
|
317
|
+
"metadata": {},
|
318
|
+
"outputs": [],
|
319
|
+
"source": []
|
320
|
+
}
|
321
|
+
],
|
322
|
+
"metadata": {
|
323
|
+
"kernelspec": {
|
324
|
+
"display_name": "Ruby 2.7.0",
|
325
|
+
"language": "ruby",
|
326
|
+
"name": "ruby"
|
327
|
+
},
|
328
|
+
"language_info": {
|
329
|
+
"file_extension": ".rb",
|
330
|
+
"mimetype": "application/x-ruby",
|
331
|
+
"name": "ruby",
|
332
|
+
"version": "2.6.3"
|
333
|
+
}
|
334
|
+
},
|
335
|
+
"nbformat": 4,
|
336
|
+
"nbformat_minor": 2
|
337
|
+
}
|
data/example/shubo.ipynb
CHANGED
@@ -14,25 +14,25 @@
|
|
14
14
|
" </script>\n",
|
15
15
|
"\n",
|
16
16
|
"\n",
|
17
|
-
"<div id=\"
|
17
|
+
"<div id=\"e4facdce-5cc2-429a-beb7-84888b0c737b\" style=\"height: 100%; width: 100%;\"></div>\n",
|
18
18
|
"\n",
|
19
19
|
"<script>\n",
|
20
20
|
" require(['plotly'], function(Plotly) { \n",
|
21
21
|
"Plotly.newPlot(\n",
|
22
|
-
" '
|
23
|
-
" [{\"x\":[0,3600,86400,172800,172801,259200,259201,345600,345601,432000,518400,604800,691200,777600,864000,950400,1036800,1123200],\"y\":[12.0,20.0,14.0,8.0,11.0,10.0,13.0,12.0,15.0,14.0,20.0,20.0,20.0,20.0,15.0,12.0,10.0,9.0],\"text\":[\"01/01
|
22
|
+
" 'e4facdce-5cc2-429a-beb7-84888b0c737b',\n",
|
23
|
+
" [{\"x\":[0,3600,86400,172800,172801,259200,259201,345600,345601,432000,518400,604800,691200,777600,864000,950400,1036800,1123200],\"y\":[12.0,20.0,14.0,8.0,11.0,10.0,13.0,12.0,15.0,14.0,20.0,20.0,20.0,20.0,15.0,12.0,10.0,9.0],\"text\":[\"01/01 00:00\",\"01/01 01:00\",\"01/02 00:00\",\"01/03 00:00\",\"01/03 00:00\",\"01/04 00:00\",\"01/04 00:00\",\"01/05 00:00\",\"01/05 00:00\",\"01/06 00:00\",\"01/07 00:00\",\"01/08 00:00\",\"01/09 00:00\",\"01/10 00:00\",\"01/11 00:00\",\"01/12 00:00\",\"01/13 00:00\",\"01/14 00:00\"],\"name\":\"temps\",\"line\":{\"shape\":\"linear\"}},{\"x\":[86400,172800,259200,345600,432000,518400,604800,691200,777600,864000,950400,1036800,1123200],\"y\":[15.0,16.0,16.5,17.0,17.0,17.0,14.0,12.0,9.0,8.0,7.0,6.0,5.0],\"text\":[\"01/02 00:00\",\"01/03 00:00\",\"01/04 00:00\",\"01/05 00:00\",\"01/06 00:00\",\"01/07 00:00\",\"01/08 00:00\",\"01/09 00:00\",\"01/10 00:00\",\"01/11 00:00\",\"01/12 00:00\",\"01/13 00:00\",\"01/14 00:00\"],\"name\":\"baume\",\"line\":{\"shape\":\"linear\"}},{\"x\":[0,3600,86400,172800,259200,345600,432000,518400,604800,691200,777600,864000,950400,1036800,1123200],\"y\":[13.0,13.0,13.0,13.0,13.5,13.5,14.0,14.5,15.5,16.0,16.0,16.5,17.0,17.5,17.5],\"text\":[\"01/01 00:00\",\"01/01 01:00\",\"01/02 00:00\",\"01/03 00:00\",\"01/04 00:00\",\"01/05 00:00\",\"01/06 00:00\",\"01/07 00:00\",\"01/08 00:00\",\"01/09 00:00\",\"01/10 00:00\",\"01/11 00:00\",\"01/12 00:00\",\"01/13 00:00\",\"01/14 00:00\"],\"name\":\"acid\",\"line\":{\"shape\":\"linear\"}}],\n",
|
24
24
|
" {\"xaxis\":{\"dtick\":86400,\"tickvals\":[0,86400,172800,259200,345600,432000,518400,604800,691200,777600,864000,950400,1036800,1123200],\"ticktext\":[1,2,3,4,5,6,7,8,9,10,11,12,13,14]},\"annotations\":[{\"x\":0,\"y\":12.0,\"xref\":\"x\",\"yref\":\"y\",\"text\":\"mizukoji\",\"showarrow\":true,\"arrowhead\":1,\"ax\":0,\"ay\":-40},{\"x\":3600,\"y\":20.0,\"xref\":\"x\",\"yref\":\"y\",\"text\":\"shikomi\",\"showarrow\":true,\"arrowhead\":1,\"ax\":0,\"ay\":-40},{\"x\":86400,\"y\":14.0,\"xref\":\"x\",\"yref\":\"y\",\"text\":\"utase\",\"showarrow\":true,\"arrowhead\":1,\"ax\":0,\"ay\":-40},{\"x\":777600,\"y\":20.0,\"xref\":\"x\",\"yref\":\"y\",\"text\":\"wake\",\"showarrow\":true,\"arrowhead\":1,\"ax\":0,\"ay\":-40}]},\n",
|
25
25
|
" {\"linkText\":\"Export to plot.ly\",\"showLink\":true}\n",
|
26
26
|
")\n",
|
27
27
|
"\n",
|
28
28
|
"window.addEventListener('resize', function() {\n",
|
29
|
-
" Plotly.Plots.resize(document.getElementById('
|
29
|
+
" Plotly.Plots.resize(document.getElementById('e4facdce-5cc2-429a-beb7-84888b0c737b'))\n",
|
30
30
|
"})\n",
|
31
31
|
" }) \n",
|
32
32
|
"</script>"
|
33
33
|
],
|
34
34
|
"text/plain": [
|
35
|
-
"#<Plotly::Offline::HTML:
|
35
|
+
"#<Plotly::Offline::HTML:0x00007fc8508d28c0 @id=\"e4facdce-5cc2-429a-beb7-84888b0c737b\", @data=[{:x=>[0, 3600, 86400, 172800, 172801, 259200, 259201, 345600, 345601, 432000, 518400, 604800, 691200, 777600, 864000, 950400, 1036800, 1123200], :y=>[12.0, 20.0, 14.0, 8.0, 11.0, 10.0, 13.0, 12.0, 15.0, 14.0, 20.0, 20.0, 20.0, 20.0, 15.0, 12.0, 10.0, 9.0], :text=>[\"01/01 00:00\", \"01/01 01:00\", \"01/02 00:00\", \"01/03 00:00\", \"01/03 00:00\", \"01/04 00:00\", \"01/04 00:00\", \"01/05 00:00\", \"01/05 00:00\", \"01/06 00:00\", \"01/07 00:00\", \"01/08 00:00\", \"01/09 00:00\", \"01/10 00:00\", \"01/11 00:00\", \"01/12 00:00\", \"01/13 00:00\", \"01/14 00:00\"], :name=>:temps, :line=>{:shape=>:linear}}, {:x=>[86400, 172800, 259200, 345600, 432000, 518400, 604800, 691200, 777600, 864000, 950400, 1036800, 1123200], :y=>[15.0, 16.0, 16.5, 17.0, 17.0, 17.0, 14.0, 12.0, 9.0, 8.0, 7.0, 6.0, 5.0], :text=>[\"01/02 00:00\", \"01/03 00:00\", \"01/04 00:00\", \"01/05 00:00\", \"01/06 00:00\", \"01/07 00:00\", \"01/08 00:00\", \"01/09 00:00\", \"01/10 00:00\", \"01/11 00:00\", \"01/12 00:00\", \"01/13 00:00\", \"01/14 00:00\"], :name=>:baume, :line=>{:shape=>:linear}}, {:x=>[0, 3600, 86400, 172800, 259200, 345600, 432000, 518400, 604800, 691200, 777600, 864000, 950400, 1036800, 1123200], :y=>[13.0, 13.0, 13.0, 13.0, 13.5, 13.5, 14.0, 14.5, 15.5, 16.0, 16.0, 16.5, 17.0, 17.5, 17.5], :text=>[\"01/01 00:00\", \"01/01 01:00\", \"01/02 00:00\", \"01/03 00:00\", \"01/04 00:00\", \"01/05 00:00\", \"01/06 00:00\", \"01/07 00:00\", \"01/08 00:00\", \"01/09 00:00\", \"01/10 00:00\", \"01/11 00:00\", \"01/12 00:00\", \"01/13 00:00\", \"01/14 00:00\"], :name=>:acid, :line=>{:shape=>:linear}}], @layout={:xaxis=>{:dtick=>86400, :tickvals=>[0, 86400, 172800, 259200, 345600, 432000, 518400, 604800, 691200, 777600, 864000, 950400, 1036800, 1123200], :ticktext=>[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14]}, :annotations=>[{:x=>0, :y=>12.0, :xref=>\"x\", :yref=>\"y\", :text=>\"mizukoji\", :showarrow=>true, :arrowhead=>1, :ax=>0, :ay=>-40}, {:x=>3600, :y=>20.0, :xref=>\"x\", :yref=>\"y\", :text=>\"shikomi\", :showarrow=>true, :arrowhead=>1, :ax=>0, :ay=>-40}, {:x=>86400, :y=>14.0, :xref=>\"x\", :yref=>\"y\", :text=>\"utase\", :showarrow=>true, :arrowhead=>1, :ax=>0, :ay=>-40}, {:x=>777600, :y=>20.0, :xref=>\"x\", :yref=>\"y\", :text=>\"wake\", :showarrow=>true, :arrowhead=>1, :ax=>0, :ay=>-40}]}, @config={:linkText=>\"Export to plot.ly\", :showLink=>true}, @embedded=true>"
|
36
36
|
]
|
37
37
|
},
|
38
38
|
"metadata": {},
|
@@ -47,25 +47,25 @@
|
|
47
47
|
" </script>\n",
|
48
48
|
"\n",
|
49
49
|
"\n",
|
50
|
-
"<div id=\"
|
50
|
+
"<div id=\"28391cbf-0dc6-46d2-94a6-58fa710d7a25\" style=\"height: 100%; width: 100%;\"></div>\n",
|
51
51
|
"\n",
|
52
52
|
"<script>\n",
|
53
53
|
" require(['plotly'], function(Plotly) { \n",
|
54
54
|
"Plotly.newPlot(\n",
|
55
|
-
" '
|
56
|
-
" [{\"type\":\"table\",\"header\":{\"values\":[\"day_label\",\"display_time\",\"mark\",\"temps\",\"display_baume\",\"acid\",\"warmings\"]},\"cells\":{\"values\":[[1,1,2,3,4,5,6,7,8,9,10,11,12,13,14],[\"01/01
|
55
|
+
" '28391cbf-0dc6-46d2-94a6-58fa710d7a25',\n",
|
56
|
+
" [{\"type\":\"table\",\"header\":{\"values\":[\"day_label\",\"display_time\",\"mark\",\"temps\",\"display_baume\",\"acid\",\"warmings\"]},\"cells\":{\"values\":[[1,1,2,3,4,5,6,7,8,9,10,11,12,13,14],[\"01/01 00:00\",\"01/01 01:00\",\"01/02 00:00\",\"01/03 00:00\",\"01/04 00:00\",\"01/05 00:00\",\"01/06 00:00\",\"01/07 00:00\",\"01/08 00:00\",\"01/09 00:00\",\"01/10 00:00\",\"01/11 00:00\",\"01/12 00:00\",\"01/13 00:00\",\"01/14 00:00\"],[\"mizukoji\",\"shikomi\",\"utase\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"wake\",\"\",\"\",\"\",\"\"],[\"12.0\",\"20.0\",\"14.0\",\"8.0, 11.0\",\"10.0, 13.0\",\"12.0, 15.0\",\"14.0\",\"20.0\",\"20.0\",\"20.0\",\"20.0\",\"15.0\",\"12.0\",\"10.0\",\"9.0\"],[\"\",\"\",15.0,16.0,16.5,17.0,17.0,17.0,14.0,12.0,9.0,8.0,7.0,6.0,5.0],[13.0,13.0,13.0,13.0,13.5,13.5,14.0,14.5,15.5,16.0,16.0,16.5,17.0,17.5,17.5],[\"\",\"\",\"\",\"daki\",\"daki\",\"daki\",\"anka\",\"anka\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"]]}}],\n",
|
57
57
|
" {\"height\":650},\n",
|
58
58
|
" {\"linkText\":\"Export to plot.ly\",\"showLink\":true}\n",
|
59
59
|
")\n",
|
60
60
|
"\n",
|
61
61
|
"window.addEventListener('resize', function() {\n",
|
62
|
-
" Plotly.Plots.resize(document.getElementById('
|
62
|
+
" Plotly.Plots.resize(document.getElementById('28391cbf-0dc6-46d2-94a6-58fa710d7a25'))\n",
|
63
63
|
"})\n",
|
64
64
|
" }) \n",
|
65
65
|
"</script>"
|
66
66
|
],
|
67
67
|
"text/plain": [
|
68
|
-
"#<Plotly::Offline::HTML:
|
68
|
+
"#<Plotly::Offline::HTML:0x00007fc851122f98 @id=\"28391cbf-0dc6-46d2-94a6-58fa710d7a25\", @data=[{:type=>:table, :header=>{:values=>[:day_label, :display_time, :mark, :temps, :display_baume, :acid, :warmings]}, :cells=>{:values=>[[1, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14], [\"01/01 00:00\", \"01/01 01:00\", \"01/02 00:00\", \"01/03 00:00\", \"01/04 00:00\", \"01/05 00:00\", \"01/06 00:00\", \"01/07 00:00\", \"01/08 00:00\", \"01/09 00:00\", \"01/10 00:00\", \"01/11 00:00\", \"01/12 00:00\", \"01/13 00:00\", \"01/14 00:00\"], [\"mizukoji\", \"shikomi\", \"utase\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"wake\", \"\", \"\", \"\", \"\"], [\"12.0\", \"20.0\", \"14.0\", \"8.0, 11.0\", \"10.0, 13.0\", \"12.0, 15.0\", \"14.0\", \"20.0\", \"20.0\", \"20.0\", \"20.0\", \"15.0\", \"12.0\", \"10.0\", \"9.0\"], [\"\", \"\", 15.0, 16.0, 16.5, 17.0, 17.0, 17.0, 14.0, 12.0, 9.0, 8.0, 7.0, 6.0, 5.0], [13.0, 13.0, 13.0, 13.0, 13.5, 13.5, 14.0, 14.5, 15.5, 16.0, 16.0, 16.5, 17.0, 17.5, 17.5], [\"\", \"\", \"\", \"daki\", \"daki\", \"daki\", \"anka\", \"anka\", \"\", \"\", \"\", \"\", \"\", \"\", \"\"]]}}], @layout={:height=>650}, @config={:linkText=>\"Export to plot.ly\", :showLink=>true}, @embedded=true>"
|
69
69
|
]
|
70
70
|
},
|
71
71
|
"metadata": {},
|
@@ -74,7 +74,7 @@
|
|
74
74
|
{
|
75
75
|
"data": {
|
76
76
|
"text/plain": [
|
77
|
-
"#<CZTop::Socket::PUB:
|
77
|
+
"#<CZTop::Socket::PUB:0x7fc852545c30 last_endpoint=\"tcp://127.0.0.1:53318\">"
|
78
78
|
]
|
79
79
|
},
|
80
80
|
"execution_count": 1,
|
@@ -87,7 +87,7 @@
|
|
87
87
|
"require 'toji'\n",
|
88
88
|
"require 'rbplotly'\n",
|
89
89
|
"\n",
|
90
|
-
"shubo = Toji::Brew::Shubo.
|
90
|
+
"shubo = Toji::Brew::Shubo.load_yaml_file(\"shubo.yaml\")\n",
|
91
91
|
"shubo.progress.plot.show\n",
|
92
92
|
"shubo.progress.table.tap {|t|\n",
|
93
93
|
" t.layout.height = 650\n",
|