'Creates figure and axes for m x n facet grid/wrap'

def make_facets(self):

    (sharex, sharey) = (True, True)
    if self.facets:
        if (self.facets.scales == u'free'):
            (sharex, sharey) = (False, False)
        elif (self.facets.scales == u'free_x'):
            (sharex, sharey) = (False, True)
        elif (self.facets.scales == u'free_y'):
            (sharex, sharey) = (True, False)
    facet_params = dict(sharex=sharex, sharey=sharey)
    (nrow, ncol) = (self.facets.nrow, self.facets.ncol)
    facet_params[u'nrows'] = nrow
    facet_params[u'ncols'] = ncol
    if (self.coords == u'polar'):
        facet_params[u'subplot_kw'] = {u'polar': True}
    (fig, axs) = plt.subplots(**facet_params)
    return (fig, axs)
