Skip to content

ENH montage: add 2d grid option #84

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

Merged
merged 2 commits into from
Jan 20, 2014
Merged

Conversation

christianbrodbeck
Copy link
Collaborator

First step following up on discussion in #79 to add to make_montage the capability to create 2d grids

import surfer

subject_id = 'fsaverage'
std_args = [subject_id, 'lh', 'inflated']
small_brain = dict(size=100, width=500, height=500)

brain = surfer.Brain(*std_args, config_opts=small_brain)

brain.save_montage("test_2d.png", [['l', 'v'], ['m', 'f']])

test_2d

@agramfort
Copy link
Contributor

LGTM :)

@mwaskom
Copy link
Member

mwaskom commented Jan 20, 2014

I dig it, but I'm confused by the small brain kwargs. I thought size was shorthand for width and height?

@christianbrodbeck
Copy link
Collaborator Author

Oh I just took them from the meg example, but size didn't seem to make the figure smaller

Christian

On Jan 20, 2014, at 12:53 PM, Michael Waskom notifications@github.com wrote:

I dig it, but I'm confused by the small brain kwargs. I thought size was shorthand for width and height?


Reply to this email directly or view it on GitHub.

mwaskom added a commit that referenced this pull request Jan 20, 2014
ENH montage:  add 2d grid option
@mwaskom mwaskom merged commit e467ade into nipy:master Jan 20, 2014
@christianbrodbeck christianbrodbeck deleted the montage branch February 9, 2017 16:12
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.

3 participants