def plot(self): try: if self.is_xkcd: with plt.xkcd(): self.plot_util() else: self.plot_util() except: pass