# draw_labels

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

:::{.padded_bottom_10pt}

:::{.def_block}


<b>draw_labels</b>(<br>
    &nbsp;&nbsp;&nbsp;&nbsp;ax
,<br>
    &nbsp;&nbsp;&nbsp;&nbsp;plan: [LabelPlan](`dascore.viz._labels.LabelPlan`)
,<br>
    &nbsp;&nbsp;&nbsp;&nbsp;runs: [LabelRuns](`dascore.viz._labels.LabelRuns`)
,<br>
    &nbsp;&nbsp;&nbsp;&nbsp;edges
,<br>
    &nbsp;&nbsp;&nbsp;&nbsp;owned: bool
 = False,<br>
)-> 'None'


:::

:::
Mark the stretch every label a coordinate states covers, and name them.

## Parameters

<table class="table">
  <thead>
    <tr>
            <th scope="col"> Parameter</th>
            <th scope="col"> Description</th>
    </tr>
  </thead>
  <tbody>
        <tr>
            <td>ax</td>
            <td>The axes the data was drawn on.</td>
        </tr>
        <tr>
            <td>plan</td>
            <td>The coordinate to draw and the axis its dimension was drawn on.</td>
        </tr>
        <tr>
            <td>runs</td>
            <td>Where the coordinate changes and what it states, from<br>[`label_runs`](`dascore.viz._labels.label_runs`).</td>
        </tr>
        <tr>
            <td>edges</td>
            <td>Where each cell along that dimension starts and ends, in axis<br>units, as a pair of arrays one sample long each.</td>
        </tr>
        <tr>
            <td>owned</td>
            <td>Whether the figure is this call's to make room in. False puts the<br>legend inside the axes, since taking room from someone else's<br>figure would move every other axes on it.</td>
        </tr>
  </tbody>
</table>

