aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAUTOMATIC <16777216c@gmail.com>2022-10-11 17:28:17 +0300
committerAUTOMATIC <16777216c@gmail.com>2022-10-11 17:28:17 +0300
commit5ba23cb41f28f5856a7f64cb0d95e1e94dce90af (patch)
tree4045bb4b590b43b7a39cf804b3483a38be7bbbea /scripts
parent4f96ffd0b5b5fadbaac5d08ce1d57384646ababa (diff)
change default for XY plot's Y to Nothing.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/xy_grid.py2
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)