Skip to content

[BUG] Lonboard data doesn't render in Marimo #790

Open
@wrynearson

Description

@wrynearson

Context

Note: This could be an issue with marimo, not with lonboard.

I have a Jupyter notebook that visualizes a gdf using the viz function, which works as expected.

Image

Resulting behaviour, error message or logs

When I try to show the same data in a marimo notebook, the viz function displays a map, but doesn't display any data.

Image

I've confirmed that the gdf is the same in both the Jupyter and marimo notebooks.

Using a different dataset, the same issue appears when using the Map function calling PathLayer.from_geopandas. Interestingly, the bounds of the rendered maps in marimo align with the geographic extent of the data.

In the browser console, I see the following error message:

loading child models or setting bounds: Error: widget_manager not supported in marimo
    at Object.get_model ( ... )

Environment

  • OS: MacOS 15.4.1
  • Browser: Arc 1.95.0 (Chromium 136.0.7103.114)
  • Lonboard Version: 0.10.4

Steps to reproduce the bug

  1. Convert known working Jupyter notebook with marimo convert <notebook.ipynb> -o <notebook.py>
  2. Start marimo notebook with marimo edit <notebook.py>

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions