Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

fix: docstring for audio, test failing (#5799)

Myles Scolnick54195aba3e84
diff --git a/marimo/_plugins/stateless/audio.py b/marimo/_plugins/stateless/audio.py
index 26be7225fa..5897e09337 100644
--- a/marimo/_plugins/stateless/audio.py
+++ b/marimo/_plugins/stateless/audio.py
@@ -107,7 +107,7 @@ def audio(
or a file-like object opened in binary mode,
`1D numpy array` → Mono waveform,
`2D numpy array` → Multi-channel waveform (Shape: `[NCHAN, NSAMPLES]`).
- rate : Sampling rate (required only for NumPy arrays).
+ rate: Sampling rate (required only for NumPy arrays).
normalize: Whether to rescale NumPy array audio to its max range (`True` by default).
If `False`, values must be in `[-1, 1]`, or an error is raised.
Does not apply to non-array audio sources.