ATLAS Offline Software
Classes | Functions
PlotUtils Namespace Reference

Classes

class  DiagnosticHisto
 
class  PlotUtils
 

Functions

def RemoveSpecialChars (In)
 

Function Documentation

◆ RemoveSpecialChars()

def PlotUtils.RemoveSpecialChars (   In)

Definition at line 7 of file PlotUtils.py.

7 def 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 
PlotUtils.RemoveSpecialChars
def RemoveSpecialChars(In)
Definition: PlotUtils.py:7