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
Scatter doesn't scale as well as other plot types (#268)
Akshay Agrawalf30d13f678f6
diff --git a/marimo/_smoke_tests/charts/1mil_flights.py b/marimo/_smoke_tests/charts/1mil_flights.pyindex 6fb840e829..c174e662b2 100644--- a/marimo/_smoke_tests/charts/1mil_flights.py+++ b/marimo/_smoke_tests/charts/1mil_flights.py@@ -1,7 +1,6 @@-# Copyright 2023 Marimo. All rights reserved.import marimo-__generated_with = "0.1.25"+__generated_with = "0.1.39"app = marimo.App(width="full")@@ -25,6 +24,21 @@ def __(mo):return size,+def __(alt, flights, mo):+ scatter = mo.ui.altair_chart(+ alt.Chart(flights).mark_point().encode(x="delay:Q", y="distance:Q")+ )+ scatter+ return scatter,+++def __(scatter):+ scatter.value.head()+ return++@app.celldef __(all_flights, size):flights = all_flights.sample(int(size.value))