Open andrewhill157 opened 3 weeks ago
Thanks for the easy-to-follow repro. Another interesting bit, when I export both log scales (altair
and mo.ui.altair_chart
) to the vega editor, neither work:
Still unsure why this fails (even in the vega editor), but symlog
seems more reliable than log
as a scale setting.
Filed two issues to: https://github.com/vega/altair/issues/3447 https://github.com/vega/vega-lite/issues/9373
Thank you for filing!
Describe the bug
In the example below, the altair chart with passed to mo.ui.altair_chart does not appear to display correctly when the axis is log scaled (not sure if this applies to any other scales)?
(note that I had killed my marimo process when took the screenshot, which is why background is red)
Environment
{ "marimo": "0.6.17", "OS": "Darwin", "OS Version": "23.5.0", "Processor": "arm", "Python Version": "3.10.4", "Binaries": { "Browser": "--", "Node": "v21.7.1" }, "Requirements": { "click": "8.1.7", "importlib-resources": "missing", "jedi": "0.19.1", "markdown": "3.5.2", "pymdown-extensions": "10.7", "pygments": "2.17.2", "tomlkit": "0.12.3", "uvicorn": "0.29.0", "starlette": "0.37.2", "websockets": "12.0", "typing-extensions": "4.9.0", "black": "23.12.1" } }
Code to reproduce