@property
def legendrank(self):
    "\n        Sets the legend rank for this trace. Items and groups with\n        smaller ranks are presented on top/left side while with\n        `*reversed* `legend.traceorder` they are on bottom/right side.\n        The default legendrank is 1000, so that you can use ranks less\n        than 1000 to place certain items before all unranked items, and\n        ranks greater than 1000 to go after all unranked items.\n\n        The 'legendrank' property is a number and may be specified as:\n          - An int or float\n\n        Returns\n        -------\n        int|float\n        "
    return self['legendrank']
Sets the legend rank for this trace. Items and groups with
smaller ranks are presented on top/left side while with
`*reversed* `legend.traceorder` they are on bottom/right side.
The default legendrank is 1000, so that you can use ranks less
than 1000 to place certain items before all unranked items, and
ranks greater than 1000 to go after all unranked items.

The 'legendrank' property is a number and may be specified as:
  - An int or float

Returns
-------
int|float
@property
def legendrank(self):
    "\n        Sets the legend rank for this trace. Items and groups with\n        smaller ranks are presented on top/left side while with\n        `*reversed* `legend.traceorder` they are on bottom/right side.\n        The default legendrank is 1000, so that you can use ranks less\n        than 1000 to place certain items before all unranked items, and\n        ranks greater than 1000 to go after all unranked items.\n\n        The 'legendrank' property is a number and may be specified as:\n          - An int or float\n\n        Returns\n        -------\n        int|float\n        "
    return self['legendrank']