Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NF new params for a multipanel figure with all views #446

Merged
merged 1 commit into from
May 18, 2022

Conversation

mvdoc
Copy link
Contributor

@mvdoc mvdoc commented May 18, 2022

Example output:
example-new-view

Code to generate example:

import cortex
import numpy as np
from cortex.export.panels import params_flatmap_inflated_lateral_medial_ventral as params

subject = 'S1'
shape = cortex.db.get_xfm(subject, 'identity').shape
data = np.arange(np.product(shape)).reshape(shape)
volume = cortex.Volume(data, subject=subject, xfmname='identity')

cortex.export.plot_panels(volume, **params, save_name="example-new-view.png")

@mvdoc mvdoc merged commit f349134 into gallantlab:main May 18, 2022
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.

2 participants