From 30e207e57339b569c0bc2bf00c880c4866b3ff98 Mon Sep 17 00:00:00 2001 From: Oion Akif <48932412+oakif@users.noreply.github.com> Date: Thu, 9 Feb 2023 02:52:22 -0500 Subject: [PATCH] Fix clash with WebUI's default XYZ script The default WebUI comes with a X/Y/Z plotting script. It's called "X/Y/Z plot" and has the filename `xyz_grid.py` as just like this one. I think it would be a good idea to rename the file and also rename the script title to "X/Y/Z HTML plot." --- xyz_grid.py => xyz_grid_html.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename xyz_grid.py => xyz_grid_html.py (97%) diff --git a/xyz_grid.py b/xyz_grid_html.py similarity index 97% rename from xyz_grid.py rename to xyz_grid_html.py index 28b3a7c..fcb35c7 100644 --- a/xyz_grid.py +++ b/xyz_grid_html.py @@ -251,7 +251,7 @@ def __exit__(self, exc_type, exc_value, tb): class Script(scripts.Script): def title(self): - return "X/Y/Z plot" + return "X/Y/Z HTML plot" def ui(self, is_img2img): current_axis_options = [x for x in axis_options if type(x) == AxisOption or type(x) == AxisOptionImg2Img and is_img2img]