code: def __init__(self):
      # Before super to ensure mixins (right-hand side in subclassing)
      # can see the assignment operation and operate on the line
      self.lines[0] = ExponentialSmoothing(
          self.data, period=self.p.period, alpha=1.0 / self.p.period
      )
      super(SmoothedMovingAverage, self).__init__()
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  from .None import MovingAverageBase, ExponentialSmoothing
label_desc: Use image node_id 1 to create a new SmoothedMovingAverage object from inherited base classes: MovingAverageBase with example: obj = SmoothedMovingAverage()