Skip to content

Commit 141732b

Browse files
authored
Merge pull request #15639 from rmcdermo/master
Python: remove sanitize from define_plot_parameters
2 parents ca117d3 + 3380d68 commit 141732b

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

Utilities/Python/fdsplotlib.py

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1448,14 +1448,14 @@ def get(col, default=None):
14481448
d.Font_Interpreter = get('Font_Interpreter')
14491449

14501450
# --- sanitization for human-facing strings ---
1451-
d.Plot_Title = sanitize(safe_strip(d.Plot_Title))
1452-
d.Ind_Title = sanitize(safe_strip(d.Ind_Title))
1453-
d.Dep_Title = sanitize(safe_strip(d.Dep_Title))
1454-
d.Quantity = sanitize(safe_strip(d.Quantity))
1455-
d.Metric = sanitize(safe_strip(d.Metric))
1456-
d.Group_Key_Label = sanitize(safe_strip(d.Group_Key_Label))
1457-
d.d1_Key = sanitize(safe_strip(d.d1_Key))
1458-
d.d2_Key = sanitize(safe_strip(d.d2_Key))
1451+
d.Plot_Title = safe_strip(d.Plot_Title)
1452+
d.Ind_Title = safe_strip(d.Ind_Title)
1453+
d.Dep_Title = safe_strip(d.Dep_Title)
1454+
d.Quantity = safe_strip(d.Quantity)
1455+
d.Metric = safe_strip(d.Metric)
1456+
d.Group_Key_Label = safe_strip(d.Group_Key_Label)
1457+
d.d1_Key = safe_strip(d.d1_Key)
1458+
d.d2_Key = safe_strip(d.d2_Key)
14591459

14601460
return d
14611461

@@ -1522,14 +1522,14 @@ def __init__(self):
15221522
d = plot_parameters_full()
15231523

15241524
# --- sanitization block (unchanged) ---
1525-
d.Plot_Title = sanitize(safe_strip(d.Plot_Title))
1526-
d.Ind_Title = sanitize(safe_strip(d.Ind_Title))
1527-
d.Dep_Title = sanitize(safe_strip(d.Dep_Title))
1528-
d.Quantity = sanitize(safe_strip(d.Quantity))
1529-
d.Metric = sanitize(safe_strip(d.Metric))
1530-
d.Group_Key_Label = sanitize(safe_strip(d.Group_Key_Label))
1531-
d.d1_Key = sanitize(safe_strip(d.d1_Key))
1532-
d.d2_Key = sanitize(safe_strip(d.d2_Key))
1525+
d.Plot_Title = safe_strip(d.Plot_Title)
1526+
d.Ind_Title = safe_strip(d.Ind_Title)
1527+
d.Dep_Title = safe_strip(d.Dep_Title)
1528+
d.Quantity = safe_strip(d.Quantity)
1529+
d.Metric = safe_strip(d.Metric)
1530+
d.Group_Key_Label = safe_strip(d.Group_Key_Label)
1531+
d.d1_Key = safe_strip(d.d1_Key)
1532+
d.d2_Key = safe_strip(d.d2Key)
15331533

15341534
return d
15351535

0 commit comments

Comments
 (0)