# estimate_legend_rows

<table class=".origin_table">
    <tr>
        <td style="text-align: left; border-style: hidden">*function*  of [dascore.viz._lanes](`dascore.viz._lanes`)</td>
        <td style="text-align: right; border-style: hidden">[source](https://github.com/DASDAE/dascore/blob/dev/dascore/viz/_lanes.py#L452-L465)</td>
    </tr>
</table>

:::{.padded_bottom_10pt}

:::{.def_block}


<b>estimate_legend_rows</b>(<br>
    &nbsp;&nbsp;&nbsp;&nbsp;labels: Sequence
,<br>
    &nbsp;&nbsp;&nbsp;&nbsp;width_points: float
,<br>
)-> 'int'


:::

:::
How many rows a legend naming these would take, laid out this wide.

Also an estimate; see legend_column_points.

