diff options
author | RnDMonkey <RnDMonkey@users.noreply.github.com> | 2022-10-03 05:04:28 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-03 05:04:28 +0000 |
commit | fe6e2362e8fa5d739de6997ab155a26686d20a49 (patch) | |
tree | 77a6f7fd03dcc7b14e21cf478cdb37b585d3efe5 /scripts/xy_grid.py | |
parent | 37c9073f58e25513392cd68a5b0fca70c9bd17b5 (diff) | |
download | stable-diffusion-webui-gfx803-fe6e2362e8fa5d739de6997ab155a26686d20a49.tar.gz stable-diffusion-webui-gfx803-fe6e2362e8fa5d739de6997ab155a26686d20a49.tar.bz2 stable-diffusion-webui-gfx803-fe6e2362e8fa5d739de6997ab155a26686d20a49.zip |
Update xy_grid.py
Changed XY Plot infotext value keys to not be so generic.
Diffstat (limited to 'scripts/xy_grid.py')
-rw-r--r-- | scripts/xy_grid.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/xy_grid.py b/scripts/xy_grid.py index f1f54d9c..ae011a17 100644 --- a/scripts/xy_grid.py +++ b/scripts/xy_grid.py @@ -246,15 +246,15 @@ class Script(scripts.Script): if not x_opt.label == 'Nothing':
p.extra_generation_params["XY Plot X Type"] = x_opt.label
- p.extra_generation_params["X Values"] = '{' + x_values + '}'
+ p.extra_generation_params["XY Plot 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])+ '}'
+ p.extra_generation_params["XY Plot Fixed X Values"] = '{' + ", ".join([str(x) for x in xs])+ '}'
if not y_opt.label == 'Nothing':
p.extra_generation_params["XY Plot Y Type"] = y_opt.label
- p.extra_generation_params["Y Values"] = '{' + y_values + '}'
+ p.extra_generation_params["XY Plot 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])+ '}'
+ p.extra_generation_params["XY Plot Fixed Y Values"] = '{' + ", ".join([str(y) for y in ys])+ '}'
processed = draw_xy_grid(
p,
|