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
/* Copyright 2026 Marimo. All rights reserved. */
import { atom, useAtom, useSetAtom } from "jotai";
export const dependencyPanelTabAtom = atom<"minimap" | "graph">("minimap");
export function useDependencyPanelTab() {
const [dependencyPanelTab, setDependencyPanelTab] = useAtom(
dependencyPanelTabAtom,
);
return { dependencyPanelTab, setDependencyPanelTab };
}
export function useSetDependencyPanelTab() {
return useSetAtom(dependencyPanelTabAtom);
}