def __init__(self, *filters, **kwargs):
dB = kwargs.pop('<STR_LIT>', True)<EOL>frequencies = kwargs.pop('<STR_LIT>', None)<EOL>figargs = dict()<EOL>title = kwargs.pop('<STR_LIT:title>', None)<EOL>for key in ['<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>',<EOL>'<STR_LIT>']:<EOL><INDENT>if key in kwargs:<EOL><INDENT>figargs[key] = kwargs.pop(key)<EOL><DEDENT><DEDENT>super(BodePlot, self).__init__(**figargs)<EOL>self.add_subplot(<NUM_LIT:2>, <NUM_LIT:1>, <NUM_LIT:1>)<EOL>self.add_subplot(<NUM_LIT:2>, <NUM_LIT:1>, <NUM_LIT:2>, sharex=self.maxes)<EOL>for filter_ in filters:<EOL><INDENT>if isinstance(filter_, FrequencySeries):<EOL><INDENT>self.add_frequencyseries(filter_, dB=dB, **kwargs)<EOL><DEDENT>else:<EOL><INDENT>self.add_filter(filter_, frequencies=frequencies,<EOL>dB=dB, **kwargs)<EOL><DEDENT><DEDENT>if dB:<EOL><INDENT>self.maxes.set_ylabel('<STR_LIT>')<EOL>ylim = self.maxes.get_ylim()<EOL>if ylim[<NUM_LIT:1>] == <NUM_LIT:0>:<EOL><INDENT>self.maxes.set_ybound(<EOL>upper=ylim[<NUM_LIT:1>] + (ylim[<NUM_LIT:1>] - ylim[<NUM_LIT:0>]) * <NUM_LIT:0.1>)<EOL><DEDENT><DEDENT>else:<EOL><INDENT>self.maxes.set_yscale('<STR_LIT>')<EOL>self.maxes.set_ylabel('<STR_LIT>')<EOL><DEDENT>self.paxes.set_xlabel('<STR_LIT>')<EOL>self.paxes.set_ylabel('<STR_LIT>')<EOL>self.maxes.set_xscale('<STR_LIT>')<EOL>self.paxes.set_xscale('<STR_LIT>')<EOL>try:<EOL><INDENT>self.paxes.yaxis.set_major_locator(<EOL>MaxNLocator(nbins='<STR_LIT>', steps=[<NUM_LIT>, <NUM_LIT:9>]))<EOL><DEDENT>except ValueError:  <EOL><INDENT>self.paxes.yaxis.set_major_locator(<EOL>MaxNLocator(nbins=<NUM_LIT:9>, steps=[<NUM_LIT>, <NUM_LIT:9>]))<EOL><DEDENT>self.paxes.yaxis.set_minor_locator(<EOL>MaxNLocator(nbins=<NUM_LIT:20>, steps=[<NUM_LIT>, <NUM_LIT:9>]))<EOL>if title:<EOL><INDENT>self.maxes.set_title(title)<EOL><DEDENT>if (frequencies is None and len(filters) == <NUM_LIT:1> and<EOL>isinstance(filters[<NUM_LIT:0>], FrequencySeries)):<EOL><INDENT>frequencies = filters[<NUM_LIT:0>].frequencies.value<EOL><DEDENT>if not isinstance(frequencies, (type(None), int)):<EOL><INDENT>frequencies = frequencies[frequencies > <NUM_LIT:0>]<EOL>self.maxes.set_xlim(frequencies.min(), frequencies.max())<EOL><DEDENT>
Initialise a new TimeSeriesPlot