Skip to content

Commit 3175716

Browse files
committed
Fix xyplot affect all pipe #649
1 parent bc19ed6 commit 3175716

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

py/nodes/pipe.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ def clean_values(values):
490490
"output_individuals": output_individuals}
491491

492492
if pipe is not None:
493-
new_pipe = pipe
493+
new_pipe = pipe.copy()
494494
new_pipe['loader_settings'] = {
495495
**pipe['loader_settings'],
496496
"xyplot": xy_plot
@@ -568,7 +568,7 @@ def plot(self, pipe, grid_spacing, output_individuals, flip_xy, X=None, Y=None,
568568
y_values = [""]
569569

570570
if pipe is not None:
571-
new_pipe = pipe
571+
new_pipe = pipe.copy()
572572
positive = pipe["loader_settings"]["positive"] if "positive" in pipe["loader_settings"] else ""
573573
negative = pipe["loader_settings"]["negative"] if "negative" in pipe["loader_settings"] else ""
574574

0 commit comments

Comments
 (0)