Skip to content

[BUG] geom_livemap makes geom_rect behave wrong #1347

Open
@nsiicm0

Description

@nsiicm0

Hi all

first of all did not find an issue template - so bear with me if the format is wrong.

I discovered an interesting behavior when working with the map capability of lets plot.
Attached you can find two ipynb that reproduce the issue.

My use case is the following:
I want to visualize tiles on top of a map to color code certain areas on a map.

Whats wrong?
When using geom_livemap layer before geom_rect it stops behaving as expected and does not colorize the "rectangles" as it should based on the aesthetics attribute. I can workaround this issue by using geom_tile.

Where am I experiencing this?
On Linux - Python 3.12 using Lets-Plot 4.6.2

Reproduction Data
Working: https://nbviewer.org/gist/nsiicm0/9d3e0d8349e9b1f92be9e2df8904c7d4
Reproduced: https://nbviewer.org/gist/nsiicm0/4bb51a53b9475547da8444a497622d41 (scroll all the way down for the failed example)

The issue is not only limited to the "fill" aestehtics. It also translates to potential tooltips etc. It appears that only one single record is picked and reproduced to all aestehtics (except coordinates).

Hope my examples explain the issue properly.

Metadata

Metadata

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions