ATLAS Offline Software
Loading...
Searching...
No Matches
PlotUtils Namespace Reference

Classes

class  DiagnosticHisto
class  PlotUtils

Functions

 RemoveSpecialChars (In)

Function Documentation

◆ RemoveSpecialChars()

PlotUtils.RemoveSpecialChars ( In)

Definition at line 7 of file PlotUtils.py.

7def RemoveSpecialChars(In):
8 Out = In
9 NotWantedChars = ["{", "}", "[", "]", "#", "^", ")", "(", "'", " ", "-"]
10 ReplaceChars = [".", ","]
11 for C in NotWantedChars:
12 Out = Out.replace(C, "")
13 for C in ReplaceChars:
14 Out = Out.replace(C, "_")
15 return Out
16
17