Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mscolnick committed Jan 17, 2025
1 parent 3effeb4 commit 61cf49d
Show file tree
Hide file tree
Showing 12 changed files with 39 additions and 47 deletions.
24 changes: 8 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,7 @@ reference its variables, eliminating the error-prone task of manually
re-running cells. Delete a cell and marimo scrubs its variables from program
memory, eliminating hidden state.

<video autoplay controls loop width="700px" align="center" src="/_static/reactive.mp4">
</video>
<img src="https://raw.githubusercontent.com/marimo-team/marimo/main/docs/_static/reactive.gif" width="700px" />

<a name="expensive-notebooks"></a>

Expand All @@ -79,15 +78,13 @@ transformers](https://docs.marimo.io/api/inputs/dataframe.html), and [chat
interfaces](https://docs.marimo.io/api/inputs/chat.html), and the cells that
use them are automatically re-run with their latest values.

<video autoplay controls loop width="700px" align="center" src="/_static/readme-ui.mp4">
</video>
<img src="https://raw.githubusercontent.com/marimo-team/marimo/main/docs/_static/readme-ui.gif" width="700px" />

**Interactive dataframes.** [Page through, search, filter, and
sort](https://docs.marimo.io/guides/working_with_data/dataframes.html)
millions of rows blazingly fast, no code required.

<video autoplay controls loop width="700px" align="center" src="/_static/docs-df.mp4">
</video>
<img src="https://raw.githubusercontent.com/marimo-team/marimo/main/docs/_static/docs-df.gif" width="700px" />

**Performant runtime.** marimo runs only those cells that need to be run by
statically analyzing your code.
Expand Down Expand Up @@ -178,8 +175,7 @@ marimo is easy to get started with, with lots of room for power users.
For example, here's an embedding visualizer made in marimo
([video](https://marimo.io/videos/landing/full.mp4)):

<video autoplay controls loop width="700px" align="center" src="/_static/embedding.mp4">
</video>
<img src="https://raw.githubusercontent.com/marimo-team/marimo/main/docs/_static/embedding.gif" width="700px" />

Check out our [docs](https://docs.marimo.io),
the [`examples/`](examples/) folder, and our [gallery](https://marimo.io/gallery) to learn more.
Expand All @@ -188,26 +184,22 @@ the [`examples/`](examples/) folder, and our [gallery](https://marimo.io/gallery
<tr>
<td>
<a target="_blank" href="https://docs.marimo.io/getting_started/key_concepts.html">
<video autoplay controls loop style="max-height: 150px; width: auto; display: block" src="/_static/reactive.mp4">
</video>
<img src="https://docs.marimo.io/_static/reactive.gif" style="max-height: 150px; width: auto; display: block" />
</a>
</td>
<td>
<a target="_blank" href="https://docs.marimo.io/api/inputs/index.html">
<video autoplay controls loop style="max-height: 150px; width: auto; display: block" src="/_static/readme-ui.mp4">
</video>
<img src="https://raw.githubusercontent.com/marimo-team/marimo/main/docs/_static/readme-ui.gif" style="max-height: 150px; width: auto; display: block" />
</a>
</td>
<td>
<a target="_blank" href="https://docs.marimo.io/guides/working_with_data/plotting.html">
<video autoplay controls loop style="max-height: 150px; width: auto; display: block" src="/_static/docs-intro.mp4">
</video>
<img src="https://raw.githubusercontent.com/marimo-team/marimo/main/docs/_static/docs-intro.gif" style="max-height: 150px; width: auto; display: block" />
</a>
</td>
<td>
<a target="_blank" href="https://docs.marimo.io/api/layouts/index.html">
<video autoplay controls loop style="max-height: 150px; width: auto; display: block" src="/_static/outputs.mp4">
</video>
<img src="https://raw.githubusercontent.com/marimo-team/marimo/main/docs/_static/outputs.gif" style="max-height: 150px; width: auto; display: block" />
</a>
</td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion docs/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ synchronized with the Python kernel: no callbacks, no observers, no manually
re-running cells.

<p align="center">
<video autoplay controls loop width="600px" align="center" src="/_static/faq-marimo-ui.webm">
<video autoplay muted loop width="600px" align="center" src="/_static/faq-marimo-ui.webm">
</video>
</p>

Expand Down
6 changes: 3 additions & 3 deletions docs/getting_started/key_concepts.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ variables defined by that cell._ This is reactive execution.

<div align="center">
<figure>
<video autoplay controls loop width="600px" align="center" src="/_static/reactive.mp4">
<video autoplay muted loop width="600px" align="center" src="/_static/reactive.mp4">
</video>
</figure>
</div>
Expand Down Expand Up @@ -107,7 +107,7 @@ other marimo elements to build rich composite outputs:

<div align="center">
<figure>
<video autoplay controls loop width="600px" align="center" src="/_static/outputs.mp4">
<video autoplay muted loop width="600px" align="center" src="/_static/outputs.mp4">
</video>
</figure>
</div>
Expand Down Expand Up @@ -139,7 +139,7 @@ that can wrap other UI elements.

<div align="center">
<figure>
<video autoplay controls loop width="600px" align="center" src="/_static/readme-ui.mp4">
<video autoplay muted loop width="600px" align="center" src="/_static/readme-ui.mp4">
</video>
</figure>
</div>
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/editor_features/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ Get a link to share your notebook via our [online playground](../wasm.md):

<div align="center">
<figure>
<video autoplay controls loop width="100%" height="100%" align="center" src="/_static/share-wasm-link.mp4">
<video autoplay muted loop width="100%" height="100%" align="center" src="/_static/share-wasm-link.mp4">
</video>
</figure>
</div>
Expand Down
4 changes: 2 additions & 2 deletions docs/guides/interactivity.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ global variable automatically runs all cells that reference it.**

<div align="center">
<figure>
<video autoplay controls loop width="100%" height="100%" align="center" src="/_static/readme-ui.webm">
<video autoplay muted loop width="100%" height="100%" align="center" src="/_static/readme-ui.webm">
</video>
</figure>
</div>
Expand Down Expand Up @@ -75,7 +75,7 @@ value on form submission.

<div align="center">
<figure>
<video autoplay controls loop width="100%" height="100%" align="center" src="/_static/readme-ui-form.webm">
<video autoplay muted loop width="100%" height="100%" align="center" src="/_static/readme-ui-form.webm">
</video>
<figcaption>Use a form to gate value updates on submission</figcaption>
</figure>
Expand Down
4 changes: 2 additions & 2 deletions docs/guides/outputs.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ documented in the [API reference](../api/index.md).

<div align="center">
<figure>
<video autoplay controls loop width="100%" height="100%" align="center" src="/_static/outputs.webm">
<video autoplay muted loop width="100%" height="100%" align="center" src="/_static/outputs.webm">
</video>
</figure>
</div>
Expand Down Expand Up @@ -74,7 +74,7 @@ top right.

<div align="center">
<figure>
<video autoplay controls loop width="100%" height="100%" align="center" src="/_static/docs-markdown-toggle.webm">
<video autoplay muted loop width="100%" height="100%" align="center" src="/_static/docs-markdown-toggle.webm">
</video>
<figcaption>marimo is pure Python, even when you're using markdown.</figcaption>
</figure>
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/publishing/playground.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ link` to get a `marimo.app/...` URL representing your notebook:

<div align="center">
<figure>
<video autoplay controls loop width="100%" height="100%" align="center" src="/_static/share-wasm-link.mp4">
<video autoplay muted loop width="100%" height="100%" align="center" src="/_static/share-wasm-link.mp4">
</video>
</figure>
</div>
Expand Down
6 changes: 3 additions & 3 deletions docs/guides/reactivity.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ eliminates a common cause of bugs in traditional notebooks like Jupyter.

<!-- <div align="center">
<figure>
<video autoplay controls loop width="100%" height="100%" align="center" src="/_static/docs-delete-cell.mp4">
<video autoplay muted loop width="100%" height="100%" align="center" src="/_static/docs-delete-cell.mp4">
</video>
<figcaption>No hidden state: deleting a cell deletes its variables.</figcaption>
</figure>
Expand Down Expand Up @@ -196,7 +196,7 @@ disabled, it and its dependents are blocked from running.

<div align="center">
<figure>
<video autoplay controls loop width="100%" height="100%" align="center" src="/_static/docs-disable-cell.mp4">
<video autoplay muted loop width="100%" height="100%" align="center" src="/_static/docs-disable-cell.mp4">
</video>
<figcaption>Disabling a cell blocks it from running.</figcaption>
</figure>
Expand All @@ -207,7 +207,7 @@ disabled, marimo will automatically run it.

<div align="center">
<figure>
<video autoplay controls loop width="100%" height="100%" align="center" src="/_static/docs-enable-cell.mp4">
<video autoplay muted loop width="100%" height="100%" align="center" src="/_static/docs-enable-cell.mp4">
</video>
<figcaption>Enable a cell through the context menu. Stale cells run
automatically.</figcaption>
Expand Down
10 changes: 5 additions & 5 deletions docs/guides/state.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ But sometimes, you might want interactions to mutate state:

<div align="center" style="margin-top:2rem; margin-bottom:2rem">
<figure>
<video autoplay controls loop width="100%" height="100%" align="center" src="/_static/docs-state-task-list.webm">
<video autoplay muted loop width="100%" height="100%" align="center" src="/_static/docs-state-task-list.webm">
</video>
</figure>
<figcaption>A proof-of-concept TODO list made using state.</figcaption>
Expand All @@ -53,7 +53,7 @@ But sometimes, you might want interactions to mutate state:

<div align="center" style="margin-top:2rem; margin-bottom:2rem">
<figure>
<video autoplay controls loop width="100%" height="100%" align="center" src="/_static/docs-state-tied.mp4">
<video autoplay muted loop width="100%" height="100%" align="center" src="/_static/docs-state-tied.mp4">
</video>
<figcaption>Use state to tie two elements together in a cycle.</figcaption>
</figure>
Expand Down Expand Up @@ -155,7 +155,7 @@ implementation using state is simpler.

<div align="center">
<figure>
<video autoplay controls loop width="100%" height="100%" align="center" src="/_static/docs-state-counter.mp4">
<video autoplay muted loop width="100%" height="100%" align="center" src="/_static/docs-state-counter.mp4">
</video>
</figure>
</div>
Expand Down Expand Up @@ -198,7 +198,7 @@ value depends on the other. This is impossible to do without `mo.state`.

<div align="center">
<figure>
<video autoplay controls loop width="100%" height="100%" align="center" src="/_static/docs-state-tied.mp4">
<video autoplay muted loop width="100%" height="100%" align="center" src="/_static/docs-state-tied.mp4">
</video>
</figure>
</div>
Expand Down Expand Up @@ -253,7 +253,7 @@ The next few cells use state to create a todo list.

<div align="center">
<figure>
<video autoplay controls loop width="100%" height="100%" align="center" src="/_static/docs-state-task-list.webm">
<video autoplay muted loop width="100%" height="100%" align="center" src="/_static/docs-state-task-list.webm">
</video>
</figure>
</div>
Expand Down
6 changes: 3 additions & 3 deletions docs/guides/working_with_data/dataframes.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ marimo lets you page through, search, sort, and filter dataframes, making it
extremely easy to get a feel for your data.

<figure>
<video autoplay controls loop width="100%" height="100%" align="center" src="/_static/docs-df.webm">
<video autoplay muted loop width="100%" height="100%" align="center" src="/_static/docs-df.webm">
</video>
<figcaption>marimo brings dataframes to life.</figcaption>
</figure>
Expand Down Expand Up @@ -86,7 +86,7 @@ notebook.

<div align="center">
<figure>
<video autoplay controls loop width="100%" height="100%" align="center" src="/_static/docs-dataframe-transform.webm">
<video autoplay muted loop width="100%" height="100%" align="center" src="/_static/docs-dataframe-transform.webm">
</video>
<figcaption>Build transformations using a GUI</figcaption>
</figure>
Expand Down Expand Up @@ -201,7 +201,7 @@ dataframe_.

<div align="center">
<figure>
<video autoplay controls loop width="100%" height="100%" align="center" src="/_static/docs-dataframe-table.webm">
<video autoplay muted loop width="100%" height="100%" align="center" src="/_static/docs-dataframe-table.webm">
</video>
<figcaption>Select rows in a table, get them back as a dataframe</figcaption>
</figure>
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/working_with_data/plotting.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ automatically made available as Pandas dataframes in Python._

<div align="center">
<figure>
<video autoplay controls loop width="600px" align="center" src="/_static/docs-intro.webm">
<video autoplay muted loop width="600px" align="center" src="/_static/docs-intro.webm">
</video>
</figure>
</div>
Expand Down
18 changes: 9 additions & 9 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ reference its variables, eliminating the error-prone task of manually
re-running cells. Delete a cell and marimo scrubs its variables from program
memory, eliminating hidden state.

<video autoplay controls loop width="700px" align="center" src="/_static/reactive.webm">
<video autoplay muted loop width="700px" align="center" src="/_static/reactive.webm">
</video>

<a name="expensive-notebooks"></a>
Expand All @@ -94,14 +94,14 @@ transformers](api/inputs/dataframe.md), and [chat
interfaces](api/inputs/chat.md), and the cells that
use them are automatically re-run with their latest values.

<video autoplay controls loop width="700px" align="center" src="/_static/readme-ui.webm">
<video autoplay muted loop width="700px" align="center" src="/_static/readme-ui.webm">
</video>

**Interactive dataframes.** [Page through, search, filter, and
sort](./guides/working_with_data/dataframes.md)
millions of rows blazingly fast, no code required.

<video autoplay controls loop width="100%" height="100%" align="center" src="/_static/docs-df.webm">
<video autoplay muted loop width="100%" height="100%" align="center" src="/_static/docs-df.webm">
</video>

**Performant runtime.** marimo runs only those cells that need to be run by
Expand Down Expand Up @@ -158,7 +158,7 @@ code hidden and uneditable:
marimo run your_notebook.py
```

<video autoplay controls loop width="450px" align="center" src="/_static/docs-model-comparison.webm" style="border-radius: 8px">
<video autoplay muted loop width="450px" align="center" src="/_static/docs-model-comparison.webm" style="border-radius: 8px">
</video>

**Execute as scripts.** Execute a notebook as a script at the
Expand Down Expand Up @@ -194,7 +194,7 @@ marimo is easy to get started with, with lots of room for power users.
For example, here's an embedding visualizer made in marimo
([video](https://marimo.io/videos/landing/full.mp4)):

<video autoplay controls loop width="700px" align="center" src="/_static/embedding.webm">
<video autoplay muted loop width="700px" align="center" src="/_static/embedding.webm">
</video>

Check out our [guides](guides/index.md), our [example
Expand All @@ -206,25 +206,25 @@ GitHub to learn more.
<tr>
<td>
<a target="_blank" href="getting_started/key_concepts">
<video autoplay controls loop style="max-height: 150px; width: auto; display: block" src="/_static/reactive.mp4">
<video autoplay muted loop style="max-height: 150px; width: auto; display: block" src="/_static/reactive.mp4">
</video>
</a>
</td>
<td>
<a target="_blank" href="api/inputs/">
<video autoplay controls loop style="max-height: 150px; width: auto; display: block" src="/_static/readme-ui.mp4">
<video autoplay muted loop style="max-height: 150px; width: auto; display: block" src="/_static/readme-ui.mp4">
</video>
</a>
</td>
<td>
<a target="_blank" href="guides/working_with_data/plotting">
<video autoplay controls loop style="max-height: 150px; width: auto; display: block" src="/_static/docs-intro.mp4">
<video autoplay muted loop style="max-height: 150px; width: auto; display: block" src="/_static/docs-intro.mp4">
</video>
</a>
</td>
<td>
<a target="_blank" href="api/layouts/">
<video autoplay controls loop style="max-height: 150px; width: auto; display: block" src="/_static/outputs.mp4">
<video autoplay muted loop style="max-height: 150px; width: auto; display: block" src="/_static/outputs.mp4">
</video>
</a>
</td>
Expand Down

0 comments on commit 61cf49d

Please sign in to comment.