From 90b0f78bdfa9b83b5d04a8be6aee2e503403f92f Mon Sep 17 00:00:00 2001 From: kojix2 Date: Tue, 2 Aug 2022 08:00:17 +0000 Subject: [PATCH] deploy: f11fd6babbbc896a492fffe6ecccd5ff198b5a29 --- UnicodePlot.html | 2 +- YouPlot.html | 2 +- YouPlot/Backends.html | 2 +- YouPlot/Backends/Processing.html | 2 +- YouPlot/Backends/UnicodePlot.html | 2 +- YouPlot/Backends/UnicodePlot/Error.html | 2 +- YouPlot/Command.html | 2 +- YouPlot/DSV.html | 2 +- YouPlot/Data.html | 2 +- YouPlot/Options.html | 2 +- YouPlot/Parameters.html | 2 +- YouPlot/Parser.html | 88 +++++++++++++------------ YouPlot/Parser/Error.html | 2 +- _index.html | 2 +- file.README.html | 2 +- index.html | 2 +- top-level-namespace.html | 2 +- 17 files changed, 61 insertions(+), 59 deletions(-) diff --git a/UnicodePlot.html b/UnicodePlot.html index c02c0ff..b2ef111 100644 --- a/UnicodePlot.html +++ b/UnicodePlot.html @@ -241,7 +241,7 @@ diff --git a/YouPlot.html b/YouPlot.html index 3c990c4..bf25a0a 100644 --- a/YouPlot.html +++ b/YouPlot.html @@ -296,7 +296,7 @@ diff --git a/YouPlot/Backends.html b/YouPlot/Backends.html index 77e3380..941e792 100644 --- a/YouPlot/Backends.html +++ b/YouPlot/Backends.html @@ -118,7 +118,7 @@ diff --git a/YouPlot/Backends/Processing.html b/YouPlot/Backends/Processing.html index 516e4ee..2f6ba5f 100644 --- a/YouPlot/Backends/Processing.html +++ b/YouPlot/Backends/Processing.html @@ -208,7 +208,7 @@ diff --git a/YouPlot/Backends/UnicodePlot.html b/YouPlot/Backends/UnicodePlot.html index bf2c1e4..21472df 100644 --- a/YouPlot/Backends/UnicodePlot.html +++ b/YouPlot/Backends/UnicodePlot.html @@ -1070,7 +1070,7 @@ diff --git a/YouPlot/Backends/UnicodePlot/Error.html b/YouPlot/Backends/UnicodePlot/Error.html index 23f22ee..2553bb8 100644 --- a/YouPlot/Backends/UnicodePlot/Error.html +++ b/YouPlot/Backends/UnicodePlot/Error.html @@ -114,7 +114,7 @@ diff --git a/YouPlot/Command.html b/YouPlot/Command.html index 9aebff0..449488d 100644 --- a/YouPlot/Command.html +++ b/YouPlot/Command.html @@ -803,7 +803,7 @@ diff --git a/YouPlot/DSV.html b/YouPlot/DSV.html index 36fbac3..1d8a52d 100644 --- a/YouPlot/DSV.html +++ b/YouPlot/DSV.html @@ -460,7 +460,7 @@ diff --git a/YouPlot/Data.html b/YouPlot/Data.html index 6686251..de7cff3 100644 --- a/YouPlot/Data.html +++ b/YouPlot/Data.html @@ -300,7 +300,7 @@ diff --git a/YouPlot/Options.html b/YouPlot/Options.html index 8e89390..fb3c99a 100644 --- a/YouPlot/Options.html +++ b/YouPlot/Options.html @@ -1103,7 +1103,7 @@ diff --git a/YouPlot/Parameters.html b/YouPlot/Parameters.html index 6c38d83..5571cad 100644 --- a/YouPlot/Parameters.html +++ b/YouPlot/Parameters.html @@ -1881,7 +1881,7 @@ diff --git a/YouPlot/Parser.html b/YouPlot/Parser.html index b719c8a..4e2c5fa 100644 --- a/YouPlot/Parser.html +++ b/YouPlot/Parser.html @@ -1193,19 +1193,21 @@ 77 78 79 -80 +80 +81
# File 'lib/youplot/parser.rb', line 67
 
 def configure(config)
-  option_member = @options.members
-  params_member = @params.members
-  config.each do |k, v|
+  option_members = @options.members
+  param_members = @params.members
+  # It would be more useful to be able to configure by plot type
+  config.each do |k, v|
     k = k.to_sym
-    if option_member.include?(k)
+    if option_members.include?(k)
       @options[k] = v
-    elsif params_member.include?(k)
+    elsif param_members.include?(k)
       @params[k] = v
     else
       raise Error, "Unknown option/param: #{k}"
@@ -1232,7 +1234,6 @@
       
 
 
-82
 83
 84
 85
@@ -1311,10 +1312,11 @@
 158
 159
 160
-161
+161 +162
-
# File 'lib/youplot/parser.rb', line 82
+      
# File 'lib/youplot/parser.rb', line 83
 
 def create_base_parser
   OptionParser.new do |parser|
@@ -1416,7 +1418,6 @@
       
 
 
-163
 164
 165
 166
@@ -1451,10 +1452,11 @@
 195
 196
 197
-198
+198 +199
-
# File 'lib/youplot/parser.rb', line 163
+      
# File 'lib/youplot/parser.rb', line 164
 
 def create_main_parser
   @main_parser = create_base_parser
@@ -1512,7 +1514,6 @@
       
 
 
-254
 255
 256
 257
@@ -1598,10 +1599,11 @@
 337
 338
 339
-340
+340 +341
-
# File 'lib/youplot/parser.rb', line 254
+      
# File 'lib/youplot/parser.rb', line 255
 
 def create_sub_parser
   @sub_parser = create_base_parser
@@ -1756,7 +1758,6 @@
       
 
 
-342
 343
 344
 345
@@ -1772,10 +1773,11 @@
 355
 356
 357
-358
+358 +359
-
# File 'lib/youplot/parser.rb', line 342
+      
# File 'lib/youplot/parser.rb', line 343
 
 def parse_options(argv = ARGV)
   begin
@@ -1846,15 +1848,15 @@
       
 
 
-213
 214
 215
 216
 217
-218
+218 +219
-
# File 'lib/youplot/parser.rb', line 213
+      
# File 'lib/youplot/parser.rb', line 214
 
 def sub_parser_add_canvas
   canvas_types = UnicodePlot::Canvas::CANVAS_CLASS_MAP.keys.join(', ')
@@ -1882,16 +1884,16 @@
       
 
 
-238
 239
 240
 241
 242
 243
-244
+244 +245
-
# File 'lib/youplot/parser.rb', line 238
+      
# File 'lib/youplot/parser.rb', line 239
 
 def sub_parser_add_fmt_xyxy
   sub_parser.on_head('--fmt STR', String,
@@ -1920,16 +1922,16 @@
       
 
 
-246
 247
 248
 249
 250
 251
-252
+252 +253
-
# File 'lib/youplot/parser.rb', line 246
+      
# File 'lib/youplot/parser.rb', line 247
 
 def sub_parser_add_fmt_yx
   sub_parser.on_head('--fmt STR', String,
@@ -1958,14 +1960,14 @@
       
 
 
-232
 233
 234
 235
-236
+236 +237
-
# File 'lib/youplot/parser.rb', line 232
+      
# File 'lib/youplot/parser.rb', line 233
 
 def sub_parser_add_grid
   sub_parser.on_head('--[no-]grid', TrueClass, 'draws grid-lines at the origin') do |v|
@@ -1992,14 +1994,14 @@
       
 
 
-200
 201
 202
 203
-204
+204 +205
-
# File 'lib/youplot/parser.rb', line 200
+      
# File 'lib/youplot/parser.rb', line 201
 
 def sub_parser_add_symbol
   sub_parser.on_head('--symbol STR', String, 'character to be used to plot the bars') do |v|
@@ -2026,14 +2028,14 @@
       
 
 
-220
 221
 222
 223
-224
+224 +225
-
# File 'lib/youplot/parser.rb', line 220
+      
# File 'lib/youplot/parser.rb', line 221
 
 def sub_parser_add_xlim
   sub_parser.on_head('--xlim FLOAT,FLOAT', Array, 'plotting range for the x coordinate') do |v|
@@ -2060,15 +2062,15 @@
       
 
 
-206
 207
 208
 209
 210
-211
+211 +212
-
# File 'lib/youplot/parser.rb', line 206
+      
# File 'lib/youplot/parser.rb', line 207
 
 def sub_parser_add_xscale
   xscale_options = UnicodePlot::ValueTransformer::PREDEFINED_TRANSFORM_FUNCTIONS.keys.join(', ')
@@ -2096,14 +2098,14 @@
       
 
 
-226
 227
 228
 229
-230
+230 +231
-
# File 'lib/youplot/parser.rb', line 226
+      
# File 'lib/youplot/parser.rb', line 227
 
 def sub_parser_add_ylim
   sub_parser.on_head('--ylim FLOAT,FLOAT', Array, 'plotting range for the y coordinate') do |v|
@@ -2120,7 +2122,7 @@
 
 
       
diff --git a/YouPlot/Parser/Error.html b/YouPlot/Parser/Error.html
index 5b2de19..b173222 100644
--- a/YouPlot/Parser/Error.html
+++ b/YouPlot/Parser/Error.html
@@ -114,7 +114,7 @@
 
 
       
diff --git a/_index.html b/_index.html
index f7ace9f..bb5ec58 100644
--- a/_index.html
+++ b/_index.html
@@ -238,7 +238,7 @@
 
 
       
diff --git a/file.README.html b/file.README.html
index cdfdeb5..e56c6da 100644
--- a/file.README.html
+++ b/file.README.html
@@ -400,7 +400,7 @@ If so, please feel free to contact us.
 
 
       
diff --git a/index.html b/index.html
index 6ba3e7b..ed8a338 100644
--- a/index.html
+++ b/index.html
@@ -400,7 +400,7 @@ If so, please feel free to contact us.
 
 
       
diff --git a/top-level-namespace.html b/top-level-namespace.html
index 960a92c..fe18736 100644
--- a/top-level-namespace.html
+++ b/top-level-namespace.html
@@ -100,7 +100,7 @@