websockets.exceptions.InvalidURI: http://localhost:2918/copilot isn't a valid URI: scheme isn't ws or wss
.marimo run my_notebook.py
the matlib plots are not shown anymore.plotly
and I get the same problem, the plots are only visible when the notebook is in edit mode.altair
plots seem to be fine though ( they are also visible when I switch to view mode).marimo export html-wasm notebook.py -o notebook.wasm.html
uv init
uv venv
source .venv/bin/activate
uv add marimo
(same problem if using ipykernel or jupyterlab)ImportError: Cannot import 'TreeArgumentsWrapper' from 'jedi.inference.arguments' due to circular import.
altair.Chart()
which outputs fine if I render it directly but if I wrap it in a mo.ui.altair_chart()
then the string x-axis values which are versions of the form "x.y.x" are getting evaluated as datetimes so the graph is exactly the same except the x-values are erroneously shown as datetimes. How can I stop this? See https://imgur.com/a/0wFfaYk. First graph is raw altair graph, second is wrapped graph.TypeError This cell raised an exception: TypeError('unhashable type: 'DataFrame' / 'dict')
when using a pandas DataFrame or a dictionary as one of the kwargs.value ofn-a
gets correct nominal type
value ofn-0
gets incorrect temporal type
import hvplot.pandas from bokeh.sampledata.iris import flowers as df df.sample(n=5) df.hvplot.scatter(x='sepal_length', y='sepal_width', by='species', legend='top', height=400, width=400)
unsupported operand type(s) for /: 'str' and 'int'no error if timestamp column isn't used in encode
index
to declare a simple variable for a loop, I see a popup with documentation for input
by the time I've typed in
and IndexError
when I reach ind
. Not only is this terrible UX it's actually also slowing down the UI making the whole thing feel laggy and clunky.df = ( pl.date_range(date(2001, 1, 1), date(2001, 1, 3), eager=True) .alias("date") .to_frame() ) df.with_columns( pl.col("date").dt.timestamp().alias("timestamp_us"), pl.col("date").dt.timestamp("ms").alias("timestamp_ms"), pl.lit(None).cast(pl.Datetime).alias("test") )
cmd + .
(my bad for not taking a screenshot of the error!) I just got back to my regular source / app view.pyodide-py
from mairmo's sidebar option to manage packages.>>> marimo --version >>> 0.9.7
scatter_mapbox
that displays different values (a complete or filtered dataframe) based on the value of a mo.ui.switch
. For some reason, the chart does not re-render on switch value change; instead, it is toggling after I toggle the switch and then switch the view mode of the notebook (i.e. use the toggle app view button). This is the notebook in reference: https://marimo.io/p/@roboboosters/fin-frc