title: Telling IPython interact widget to ignore self argument in OOP
body: <p>I'm trying to use the IPython interact widget for a particular method in one of my classes. I would like it to ignore the <code>self</code> &amp; <code>colour</code> arguments, and only adjust the <code>i</code> argument, but it insists that <code>self</code> is a bonafide argument too.</p>
  
  <p>A similar question was asked <a href="https://stackoverflow.com/questions/38143237/how-to-define-the-default-value-of-a-slider-widget-on-ipywidgets">here</a>, but neither method (using <code>fixed</code> on  <code>self</code> or pre-loading <code>self</code> into the method with <code>partial</code>) is appropriate in this case.</p>
  
  <pre><code>from ipywidgets.widgets import interact,fixed
  import matplotlib.pyplot as plt
  
  class Profile():
  '''self.stages is a list of lists'''
      @interact(i=(0,5,1),colour=fixed(DEFAULT_COLOR))
      def plot_stages(self, i, colour):
          plt.plot(self.stages[i], color=colour)
  </code></pre>
  
  <p>This returns an error:
  <code>ValueError: cannot find widget or abbreviation for argument: 'self'</code></p>
  
  <p>So how does one tell <code>interact</code> to ignore the <code>self</code> argument?</p>