def _get_plot_instance(self, field):
    fontscale = (self._font_properties._size / 14.0)
    top_buff_size = (0.35 * fontscale)
    x_axis_size = (1.35 * fontscale)
    y_axis_size = (0.7 * fontscale)
    right_buff_size = (0.2 * fontscale)
    if iterable(self.figure_size):
        figure_size = self.figure_size
    else:
        figure_size = (self.figure_size, self.figure_size)
    xbins = np.array([x_axis_size, figure_size[0], right_buff_size])
    ybins = np.array([y_axis_size, figure_size[1], top_buff_size])
    size = [xbins.sum(), ybins.sum()]
    x_frac_widths = (xbins / size[0])
    y_frac_widths = (ybins / size[1])
    axrect = (x_frac_widths[0], y_frac_widths[0], x_frac_widths[1], y_frac_widths[1])
    try:
        plot = self.plots[field]
    except KeyError:
        plot = PlotMPL(self.figure_size, axrect, None, None)
        self.plots[field] = plot
    return plot
def _get_plot_instance(self, field):
    fontscale = (self._font_properties._size / 14.0)
    top_buff_size = (0.35 * fontscale)
    x_axis_size = (1.35 * fontscale)
    y_axis_size = (0.7 * fontscale)
    right_buff_size = (0.2 * fontscale)
    if iterable(self.figure_size):
        figure_size = self.figure_size
    else:
        figure_size = (self.figure_size, self.figure_size)
    xbins = np.array([x_axis_size, figure_size[0], right_buff_size])
    ybins = np.array([y_axis_size, figure_size[1], top_buff_size])
    size = [xbins.sum(), ybins.sum()]
    x_frac_widths = (xbins / size[0])
    y_frac_widths = (ybins / size[1])
    axrect = (x_frac_widths[0], y_frac_widths[0], x_frac_widths[1], y_frac_widths[1])
    try:
        plot = self.plots[field]
    except KeyError:
        plot = PlotMPL(self.figure_size, axrect, None, None)
        self.plots[field] = plot
    return plot