# numeric_scale

<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#L181-L207)</td>
    </tr>
</table>

:::{.padded_bottom_10pt}

:::{.def_block}


<b>numeric_scale</b>(<br>
    &nbsp;&nbsp;&nbsp;&nbsp;values
,<br>
    &nbsp;&nbsp;&nbsp;&nbsp;cmap_name
 = viridis,<br>
)


:::

:::
Return (cmap, norm, ticks) for a column of numbers.

A handful of distinct values is a set of categories which happen to
be numbered, so it gets one color each and a stepped bar reading at
the values themselves. Anything more is a quantity, and ramps.

