def draw(self, filename=None, verbose=False):
    self._draw_regs()
    self._draw_ops(verbose)
    _xl = (- self._style.margin[0])
    _xr = (self._cond['xmax'] + self._style.margin[1])
    _yb = ((((- self._cond['ymax']) - self._style.margin[2]) + 1) - 0.5)
    _yt = (self._style.margin[3] + 0.5)
    self.ax.set_xlim(_xl, _xr)
    self.ax.set_ylim(_yb, _yt)
    fig_w = (_xr - _xl)
    fig_h = (_yt - _yb)
    if (self._style.figwidth < 0.0):
        self._style.figwidth = ((((fig_w * self._scale) * self._style.fs) / 72) / WID)
    self.figure.set_size_inches(self._style.figwidth, ((self._style.figwidth * fig_h) / fig_w))
    if filename:
        self.figure.savefig(filename, dpi=self._style.dpi, bbox_inches='tight')
    plt.close(self.figure)
    return self.figure
def draw(self, filename=None, verbose=False):
    self._draw_regs()
    self._draw_ops(verbose)
    _xl = (- self._style.margin[0])
    _xr = (self._cond['xmax'] + self._style.margin[1])
    _yb = ((((- self._cond['ymax']) - self._style.margin[2]) + 1) - 0.5)
    _yt = (self._style.margin[3] + 0.5)
    self.ax.set_xlim(_xl, _xr)
    self.ax.set_ylim(_yb, _yt)
    fig_w = (_xr - _xl)
    fig_h = (_yt - _yb)
    if (self._style.figwidth < 0.0):
        self._style.figwidth = ((((fig_w * self._scale) * self._style.fs) / 72) / WID)
    self.figure.set_size_inches(self._style.figwidth, ((self._style.figwidth * fig_h) / fig_w))
    if filename:
        self.figure.savefig(filename, dpi=self._style.dpi, bbox_inches='tight')
    plt.close(self.figure)
    return self.figure