def addData(self, xvals, yvals, xlabel, ylabel, nplotted, yerrors=None): xxvals, yyvals = Stats.filterNone((xvals, yvals)) color, linestyle, marker = self.getFormat(nplotted) self.bokeh_figure.line( xxvals, yyvals, color=color, line_width=2)