diff options
author | AUTOMATIC <16777216c@gmail.com> | 2022-10-11 14:28:17 +0000 |
---|---|---|
committer | AUTOMATIC <16777216c@gmail.com> | 2022-10-11 14:28:17 +0000 |
commit | 5ba23cb41f28f5856a7f64cb0d95e1e94dce90af (patch) | |
tree | 4045bb4b590b43b7a39cf804b3483a38be7bbbea /scripts/xy_grid.py | |
parent | 4f96ffd0b5b5fadbaac5d08ce1d57384646ababa (diff) | |
download | stable-diffusion-webui-gfx803-5ba23cb41f28f5856a7f64cb0d95e1e94dce90af.tar.gz stable-diffusion-webui-gfx803-5ba23cb41f28f5856a7f64cb0d95e1e94dce90af.tar.bz2 stable-diffusion-webui-gfx803-5ba23cb41f28f5856a7f64cb0d95e1e94dce90af.zip |
change default for XY plot's Y to Nothing.
Diffstat (limited to 'scripts/xy_grid.py')
-rw-r--r-- | scripts/xy_grid.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/xy_grid.py b/scripts/xy_grid.py index cddb192a..ef431105 100644 --- a/scripts/xy_grid.py +++ b/scripts/xy_grid.py @@ -197,7 +197,7 @@ class Script(scripts.Script): x_values = gr.Textbox(label="X values", visible=False, lines=1)
with gr.Row():
- y_type = gr.Dropdown(label="Y type", choices=[x.label for x in current_axis_options], value=current_axis_options[4].label, visible=False, type="index", elem_id="y_type")
+ y_type = gr.Dropdown(label="Y type", choices=[x.label for x in current_axis_options], value=current_axis_options[0].label, visible=False, type="index", elem_id="y_type")
y_values = gr.Textbox(label="Y values", visible=False, lines=1)
draw_legend = gr.Checkbox(label='Draw legend', value=True)
|