include_disabled_meters : bool
if ax is None:
ax = plt.gca()
// Prepare list of meters
meters = copy(self.meters)
if include_disabled_meters:
meters += self.disabled_meters
meters.sort(key=meter_sorting_key, reverse=True)
labels = []
for i, meter in enumerate(meters):
good_sections = meter.good_sections(**kwargs)
ax = good_sections.plot(ax=ax, y=i)
labels.append(getattr(meter, label_func)())
// Y tick formatting
n = len(meters)