6 The logger for all classes in the distribution is defined here.
12 import matplotlib.pyplot
as plt
14 logging.basicConfig(level=logging.DEBUG,
15 format=
'%(name)-18s \t %(levelname)-8s %(message)s',
16 datefmt=
'%m-%d %H:%M',
23 All pro tools inherit form this class.
24 For now each class get a logger.
37 :param name: Name of the class
48 return logging.getLogger(self.
name)
51 def create_figure(self, width=None, square=False, ratio=None):
64 height = width
if square
else width / ratio
65 return plt.subplots(figsize=(width, height))