MCPcopy Index your code
hub / github.com/python/cpython / toggleTheme

Function toggleTheme

Lib/profiling/sampling/_flamegraph_assets/flamegraph.js:115–122  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

113// ============================================================================
114
115function toggleTheme() {
116 toggleAndSaveTheme();
117
118 // Re-render flamegraph with new theme colors
119 if (window.flamegraphData && normalData) {
120 updateFlamegraphView();
121 }
122}
123
124function toggleSidebar() {
125 const sidebar = document.getElementById('sidebar');

Callers

nothing calls this directly

Calls 2

toggleAndSaveThemeFunction · 0.85
updateFlamegraphViewFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…