Skip to content

Conversation

@mvdoc
Copy link
Contributor

@mvdoc mvdoc commented Jul 19, 2024

This PR adds the feature of visualizing the VertexData value when hovering on the surface or when clicking on a specific vertex.

Example code to test that it works as intended (unfortunately it's hard to automate):

import cortex
roi = cortex.get_roi_verts("S1", roi=["EBA"], mask=True)["EBA"]
roi = roi.astype(float)
vtx = cortex.Vertex(roi, "S1")
cortex.webgl.show(vtx)

Example images
image
image

@mvdoc mvdoc merged commit 915ed73 into gallantlab:main Jul 21, 2024
@mvdoc mvdoc deleted the nf/mouseoververtex branch July 21, 2024 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant