Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 2 additions & 16 deletions lonboard/_layer.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@

from __future__ import annotations

import warnings
from textwrap import dedent
from typing import TYPE_CHECKING, Any

import ipywidgets
Expand Down Expand Up @@ -2030,21 +2028,9 @@ def __init__(
table: ArrowStreamExportable,
**kwargs: Unpack[HeatmapLayerKwargs],
) -> None:
err_msg = """
The `HeatmapLayer` is not currently working.

As of Lonboard v0.10, Lonboard upgraded to version 9.0 of the underlying
[deck.gl](https://deck.gl/) library. deck.gl [appears to have a
bug](https://github.com/visgl/deck.gl/issues/8960#issuecomment-2284791644) with
the HeatmapLayer in 9.0, that has not yet been fixed.

Please temporarily downgrade to Lonboard v0.9 if you would like to use the
`HeatmapLayer`.
"""
warnings.warn(dedent(err_msg), UserWarning)

# NOTE: we override the default for _rows_per_chunk because otherwise we render
# one heatmap per _chunk_ not for the entire dataset.
# one heatmap per _chunk_ not for the entire dataset (we don't have a way to
# concat batches in the frontend)
table_o3 = Table.from_arrow(table)
super().__init__(table=table, _rows_per_chunk=len(table_o3), **kwargs)

Expand Down
Loading