krz/omaha-metro-blotter

Archive of police activity and ALPR surveillance across the Omaha metro. alpr archive omaha police surveillance

Commit 4aeccd1085

4aeccd10855549f28f0f51210e853820a0606161

parent: 134349eac9

Unsigned ci/daily-pull: success

cmc <hello@cleberg.net> · 2026-10-31 19:50 UTC

Dependency updates (pandas 3, dash 4, plotly 7) (!13)

Bump dash 4.5.0, numpy 2.5.4, pandas 3.1.0, plotly 7.1.0. Fills NULL camera make/operator before formatting hover text (pandas 3 returns NaN, not None).
No test suite; build_site.py and every dashboard callback were run against a seeded DB, output matches the pandas 2 / dash 3 / plotly 6 baseline.

Closes #3

Layout: unified · split

app.py +2 −1
@@ -161,7 +161,8 @@ def update_map(agencies, categories, start, end, theme, show_cameras):
161161 marker={"size": 7, "color": "#ffb300"},
162162 name="ALPR camera",
163163 text=[f"{m or 'unknown make'} — {o or 'operator not tagged'}"
164 for m, o in zip(CAMERAS["manufacturer"], CAMERAS["operator"])],
164 for m, o in zip(CAMERAS["manufacturer"].fillna(""),
165 CAMERAS["operator"].fillna(""))],
165166 hovertemplate="%{text}<extra>ALPR</extra>"))
166167 title = f"{MAP_SAMPLE:,}-incident sample" if sampled else f"{len(df):,} incidents"
167168 fig.update_layout(map={"style": PALETTES[theme]["basemap"], "center": CENTER,
requirements.txt +4 −4
@@ -1,5 +1,5 @@
11-r requirements-ingest.txt
2dash>=3.0
3numpy>=2.0
4pandas>=2.2
5plotly>=6.0
2dash>=4.5.0
3numpy>=2.5.4
4pandas>=3.1.0
5plotly>=7.1.0