Skip to content

Modifiying scatterplot cell size #1242

Answered by keller-mark
abarkellumich asked this question in Q&A
Discussion options

You must be logged in to vote

The values need to be stored separately from the keys.

{
  // root of config
  coordinationSpace: {
    embeddingType: {
      MY_UMAP: "UMAP",
    },
    embeddingZoom: {
      MY_UMAP: 0,
    },
    embeddingCellRadiusMode: {
      MY_UMAP: "manual",
    },
    embeddingCellRadius: {
      MY_UMAP: 3,
    },
  },
  layout: [
    {
      "component": "scatterplot",
      "coordinationScopes": {
        "embeddingType": "MY_UMAP",
        "embeddingZoom": "MY_UMAP",
        "embeddingCellRadiusMode": "MY_UMAP",
        "embeddingCellRadius": "MY_UMAP",
      },
     "h": 12, "w": 4, "x": 8, "y": 0
    }
  ]
}

Here, the string MY_UMAP is the coordination scope name, it can be any string.

T…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by abarkellumich
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants