toggle and scale dotplot

This commit is contained in:
Colin Megill
2021-07-26 13:23:21 -07:00
parent 2462d4afb1
commit c2b12abe2b
8 changed files with 42 additions and 15 deletions
+1 -2
View File
@@ -24,7 +24,7 @@ function setToDefaultLayout(schema) {
const LayoutChoice = (
state = {
available: [], // all available choices
dotplot: true, // is the dotplot toggled on, or not
dotplot: false, // is the dotplot toggled on, or not
current: undefined, // name of the current layout, eg, 'umap'
currentDimNames: [], // dimension name
},
@@ -42,7 +42,6 @@ const LayoutChoice = (
}
case "toggle dotplot": {
console.log("toggle: state, newstate", state.dotplot, !state.dotplot);
return {
...state,
dotplot: !state.dotplot,