code: def plotsignal(self,fig=None,saveplot=True,folder=None,figformat='png',**kwargs):
          
          if folder is None:
              folder = self.folder
  
          self.trsig.plot(plot_trap=True,fig=fig,**kwargs)
          if saveplot:
              plt.savefig('%s/signal.%s' % (folder,figformat))
              plt.close()
docs: Plots TransitSignal
  
          Calls :func:`TransitSignal.plot`, saves to provided folder.
  
          :param fig: (optional)
              Argument for :func:`plotutils.setfig`.
  
          :param saveplot: (optional)
              Whether to save figure.
  
          :param folder: (optional)
              Folder to which to save plot
  
          :param figformat: (optional)
              Desired format for figure.
  
          :param **kwargs:
              Additional keyword arguments passed to :func:`TransitSignal.plot`.