marimo-team / marimo

A reactive notebook for Python — run reproducible experiments, execute as a script, deploy as an app, and version with git.
https://marimo.io
Apache License 2.0
6.62k stars 225 forks source link

Bad display of mo.ui.table distributions widget on Firefox #1562

Closed tomsquest closed 4 months ago

tomsquest commented 4 months ago

Describe the bug

Using mo.ui.table(df) leads to distribution widgets being "on-top" of the table when using firefox.

Adblocker is disabled, or anything I could think of.

Using firefox 126.0.2 on Ubuntu 22.04

image

Using Chromium 125.0.6422.112 on same host

image

Environment

{
  "marimo": "0.6.15",
  "OS": "Linux",
  "OS Version": "6.5.0-35-generic",
  "Processor": "x86_64",
  "Python Version": "3.11.9",
  "Binaries": {
    "Browser": "--",
    "Node": "v20.11.1"
  },
  "Requirements": {
    "click": "8.1.7",
    "importlib-resources": "missing",
    "jedi": "0.19.1",
    "markdown": "3.6",
    "pymdown-extensions": "10.8.1",
    "pygments": "2.18.0",
    "tomlkit": "0.12.5",
    "uvicorn": "0.30.1",
    "starlette": "0.37.2",
    "websockets": "12.0",
    "typing-extensions": "missing",
    "black": "24.4.2"
  }
}

Code to reproduce

  1. Run marimo edit https://raw.githubusercontent.com/marimo-team/marimo/main/examples/third_party/polars_example.py.
  2. Scroll to the later cells.

Or:

import marimo as mo
import pandas as pd

df = pd.read_json("data.jsonl", lines=True)

mo.ui.table(df)
mscolnick commented 4 months ago

thanks for filing this, fixing it now

akshayka commented 4 months ago

@tomsquest , just cut a new release (0.6.16). It should be available on PyPI within 10 minutes or so.

tomsquest commented 4 months ago

@akshayka Fixed! You were really fast to fix it. Many thanks!

By the way, excellent product. I really like it :+1: