@classmethod
def from_dict(cls, d):
    """ Return a ``TileGrid`` from a dictionary

        Parameters
        ----------
        d : dict
            Dictionary of class attributes (see __init__)

        Returns
        -------
        TileGrid
            A new TileGrid according to parameters in ``d``
        """
    return cls(**d)
