#NEWLINE# def cloud_for_model( self , model , steps = 4 , distribution = LOGARITHMIC , filters = None , min_count = None ) : #NEWLINE# #INDENT# "\n        Obtain a list of tags associated with instances of the given\n        Model, giving each tag a ``count`` attribute indicating how\n        many times it has been used and a ``font_size`` attribute for\n        use in displaying a tag cloud.\n        \n        ``steps`` defines the range of font sizes - ``font_size`` will\n        be an integer between 1 and ``steps`` (inclusive).\n        \n        ``distribution`` defines the type of font size distribution\n        algorithm which will be used - logarithmic or linear. It must\n        be either ``supertagging.utils.LOGARITHMIC`` or\n        ``supertagging.utils.LINEAR``.\n        \n        To limit the tags displayed in the cloud to those associated\n        with a subset of the Model's instances, pass a dictionary of\n        field lookups to be applied to the given Model as the\n        ``filters`` argument.\n        \n        To limit the tags displayed in the cloud to those with a\n        ``count`` greater than or equal to ``min_count``, pass a value\n        for the ``min_count`` argument.\n        " #NEWLINE# tags = list ( self . usage_for_model ( model , counts = True , filters = tags , min_count = min_count ) ) #NEWLINE# return calculate_cloud ( tags , steps , distribution )