Skip to content
Merged
2 changes: 1 addition & 1 deletion docs/api/layers/arc-layer.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@

> Screen recording from [U.S. County-to-County Migration example](../../../examples/migration/).

::: lonboard.experimental.ArcLayer
::: lonboard.ArcLayer
options:
inherited_members: true
2 changes: 1 addition & 1 deletion docs/api/layers/trips-layer.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

> Screenshot from Air Traffic Control example.

::: lonboard.experimental.TripsLayer
::: lonboard.TripsLayer
options:
filters:
- "!^_"
Expand Down
7 changes: 4 additions & 3 deletions docs/api/traits.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# lonboard.traits

::: lonboard.traits.ArrowTableTrait
::: lonboard.traits.ColorAccessor
::: lonboard.traits.DashArrayAccessor
::: lonboard.traits.FloatAccessor
::: lonboard.traits.FilterValueAccessor
::: lonboard.traits.FloatAccessor
::: lonboard.traits.NormalAccessor
::: lonboard.traits.PointAccessor
::: lonboard.traits.ArrowTableTrait
::: lonboard.experimental.traits.TimestampAccessor
::: lonboard.traits.TimestampAccessor
::: lonboard.traits.ViewStateTrait
5 changes: 2 additions & 3 deletions examples/air-traffic-control.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"uvx juv run examples/air-traffic-control.ipynb\n",
"```\n",
"\n",
"(The `uvx` command is included when installing `uv`)."
"(The `uvx` command is included when installing `uv`).\n"
]
},
{
Expand All @@ -68,8 +68,7 @@
"import requests\n",
"from arro3.io import read_parquet\n",
"\n",
"from lonboard import Map\n",
"from lonboard.experimental import TripsLayer"
"from lonboard import Map, TripsLayer"
]
},
{
Expand Down
7 changes: 3 additions & 4 deletions examples/ais-movingpandas.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"uvx juv run examples/ais-movingpandas.ipynb\n",
"```\n",
"\n",
"(The `uvx` command is included when installing `uv`)."
"(The `uvx` command is included when installing `uv`).\n"
]
},
{
Expand All @@ -81,9 +81,8 @@
"import pandas as pd\n",
"import pyarrow as pa\n",
"\n",
"from lonboard import Map, PathLayer, viz\n",
"from lonboard.colormap import apply_categorical_cmap\n",
"from lonboard.experimental import TripsLayer"
"from lonboard import Map, PathLayer, TripsLayer, viz\n",
"from lonboard.colormap import apply_categorical_cmap"
]
},
{
Expand Down
3 changes: 1 addition & 2 deletions examples/marimo/nyc_taxi_trips.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,8 @@ from matplotlib.colors import Normalize
from palettable.colorbrewer.diverging import BrBG_10
from tqdm.notebook import tqdm

from lonboard import Map, ScatterplotLayer
from lonboard import ArcLayer, Map, ScatterplotLayer
from lonboard.colormap import apply_continuous_cmap
from lonboard.experimental import ArcLayer
from lonboard.layer_extension import BrushingExtension
```

Expand Down
4 changes: 2 additions & 2 deletions examples/marimo/nyc_taxi_trips.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@ def _():
from palettable.colorbrewer.diverging import BrBG_10
from tqdm.notebook import tqdm

from lonboard import Map, ScatterplotLayer
from lonboard import ArcLayer, Map, ScatterplotLayer
from lonboard.colormap import apply_continuous_cmap
from lonboard.experimental import ArcLayer
from lonboard.layer_extension import BrushingExtension

return (
ArcLayer,
BrBG_10,
Expand Down
5 changes: 2 additions & 3 deletions examples/migration.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
},
{
"cell_type": "code",
"execution_count": 1,
"execution_count": null,
"id": "e92e7476-4f7d-4e50-b006-2c0b2428bd4f",
"metadata": {},
"outputs": [],
Expand All @@ -79,8 +79,7 @@
"import shapely\n",
"from matplotlib.colors import Normalize\n",
"\n",
"from lonboard import Map, ScatterplotLayer\n",
"from lonboard.experimental import ArcLayer\n",
"from lonboard import ArcLayer, Map, ScatterplotLayer\n",
"from lonboard.layer_extension import BrushingExtension"
]
},
Expand Down
12 changes: 8 additions & 4 deletions lonboard/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
"""Python library for fast, interactive geospatial vector data visualization in Jupyter."""

from . import colormap, controls, experimental, layer_extension, traits
from ._layer import (
from ._map import Map
from ._version import __version__
from ._viz import viz
from .layer import (
ArcLayer,
BaseArrowLayer,
BaseLayer,
BitmapLayer,
Expand All @@ -13,12 +17,11 @@
PolygonLayer,
ScatterplotLayer,
SolidPolygonLayer,
TripsLayer,
)
from ._map import Map
from ._version import __version__
from ._viz import viz

__all__ = [
"ArcLayer",
"BaseArrowLayer",
"BaseLayer",
"BitmapLayer",
Expand All @@ -31,6 +34,7 @@
"PolygonLayer",
"ScatterplotLayer",
"SolidPolygonLayer",
"TripsLayer",
"__version__",
"colormap",
"controls",
Expand Down
Loading