Commit cf141157 authored by RnDMonkey's avatar RnDMonkey

Added X/Y plot parameters to extra_generation_params

parent 70931652
...@@ -244,6 +244,14 @@ class Script(scripts.Script): ...@@ -244,6 +244,14 @@ class Script(scripts.Script):
return process_images(pc) 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]) + '}'
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]) + '}'
processed = draw_xy_grid( processed = draw_xy_grid(
p, p,
xs=xs, xs=xs,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment