aboutsummaryrefslogtreecommitdiff
path: root/scripts/xy_grid.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/xy_grid.py')
-rw-r--r--scripts/xy_grid.py12
1 files changed, 8 insertions, 4 deletions
diff --git a/scripts/xy_grid.py b/scripts/xy_grid.py
index d9f8d55b..f87c6c1f 100644
--- a/scripts/xy_grid.py
+++ b/scripts/xy_grid.py
@@ -245,12 +245,16 @@ class Script(scripts.Script):
return process_images(pc)
if not x_opt.label == 'Nothing':
- p.extra_generation_params["X/Y Plot X Type"] = x_opt.label
- p.extra_generation_params["X Values"] = '{' + ", ".join([f'{x}' for x in xs]) + '}'
+ p.extra_generation_params["XY Plot X Type"] = x_opt.label
+ p.extra_generation_params["X Values"] = '{' + x_values + '}'
+ if x_opt.label in ["Seed","Var. seed"] and not no_fixed_seeds:
+ p.extra_generation_params["Fixed X Values"] = '{' + ", ".join([str(x) for x in xs])+ '}'
if not y_opt.label == 'Nothing':
- p.extra_generation_params["X/Y Plot Y Type"] = y_opt.label
- p.extra_generation_params["Y Values"] = '{' + ", ".join([f'{y}' for y in ys]) + '}'
+ p.extra_generation_params["XY Plot Y Type"] = y_opt.label
+ p.extra_generation_params["Y Values"] = '{' + y_values + '}'
+ if y_opt.label in ["Seed","Var. seed"] and not no_fixed_seeds:
+ p.extra_generation_params["Fixed Y Values"] = '{' + ", ".join([str(y) for y in ys])+ '}'
processed = draw_xy_grid(
p,