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.
Python artificial-intelligencedagdata-sciencedata-visualizationdataflowdeveloper-toolsmachine-learningnotebookspipelinepythonreactivesqlweb-app
Fix formatting in dataflow example (#549)
Pavel Zwerschke421168794d39
diff --git a/marimo/_tutorials/dataflow.py b/marimo/_tutorials/dataflow.pyindex 9f51566a22..06bc1cec17 100644--- a/marimo/_tutorials/dataflow.py+++ b/marimo/_tutorials/dataflow.py@@ -119,11 +119,11 @@ def __(matplotlib_installed, mo, np, numpy_installed, plt):def plot_wave(amplitude, period):if not numpy_installed:return mo.md(- "> `Oops! It looks like you don't have `numpy` installed.`"+ "> Oops! It looks like you don't have `numpy` installed.")if not matplotlib_installed:return mo.md(- "> `Oops! It looks like you dont' have `matplotlib` installed."+ "> Oops! It looks like you don't have `matplotlib` installed.")x = np.linspace(0, 2 * np.pi, 256)plt.plot(x, amplitude * np.sin(2 * np.pi / period * x))diff --git a/marimo/_tutorials/markdown.py b/marimo/_tutorials/markdown.pyindex c8a1a696ab..e8bcd5451e 100644--- a/marimo/_tutorials/markdown.py+++ b/marimo/_tutorials/markdown.py@@ -184,7 +184,7 @@ def __(missing_numpy_msg, mo, np, numpy_installed):try:import pandas as pdexcept ModuleNotFoundError:- return mo.md("`Oops! Looks like you don't have pandas installed.`")+ return mo.md("Oops! Looks like you don't have `pandas` installed.")if not numpy_installed:return missing_numpy_msg@@ -317,9 +317,9 @@ def __(amplitude, mo, period, plotsin):def __(mo):matplotlib_installed = Falsenumpy_installed = False- missing_numpy_msg = mo.md("`Oops! Looks like you don't have numpy installed.`")+ missing_numpy_msg = mo.md("Oops! Looks like you don't have `numpy` installed.")missing_matplotlib_msg = mo.md(- "`Oops! Looks like you don't have matplotlib installed.`"+ "Oops! Looks like you don't have `matplotlib` installed.")try: