code: def multiplot(self, f, lfilter=None, **kargs):
          
  
          d = defaultdict(list)
          for i in self.res:
              if lfilter and not lfilter(i):
                  continue 
              k, v = f(i)
              d[k].append(v)
  
          figure = plt.figure()
          ax = figure.add_axes(plt.axes())
          for i in d:
              ax.plot(d[i], **kargs)
          return figure
docs: Uses a function that returns a label and a value for this label, then plots all the values label by label