## Layer


One thing drawn on a figure, against the figure's shared x values.


Usage

``` python
Layer(**data)
```


`line`, `scatter` and `bar` take `y`; `band` takes `y_low` and `y_high` (a shaded interval); `hline` takes `value` (a reference line). `None` in `y` leaves a gap.


## Attributes

| Name | Description |
|----|----|
| [length](#length) | How many x values the layer needs; `None` for a reference line. |

------------------------------------------------------------------------


#### length


How many x values the layer needs; `None` for a reference line.


`length: int | None`
