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

ENH Brain: allow time_label to be function #129

Merged
merged 3 commits into from
May 5, 2015

Conversation

christianbrodbeck
Copy link
Collaborator

This should solve the problem of displaying time in ms while representing it in seconds (which is assumed by Brain.save_movie() when determining time dilation). To display in ms use time_label=lambda x: '%s ms' % int(round(x)).

@agramfort
Copy link
Contributor

LGTM

@coveralls
Copy link

Coverage Status

Coverage increased (+0.04%) to 72.49% when pulling cad4820 on christianbrodbeck:timelabel into a7b4097 on nipy:master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.04%) to 72.49% when pulling cad4820 on christianbrodbeck:timelabel into a7b4097 on nipy:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage increased (+0.04%) to 72.49% when pulling cad4820 on christianbrodbeck:timelabel into a7b4097 on nipy:master.

larsoner added a commit that referenced this pull request May 5, 2015
ENH Brain:  allow time_label to be function
@larsoner larsoner merged commit b8b8c10 into nipy:master May 5, 2015
@larsoner
Copy link
Contributor

larsoner commented May 5, 2015

Thanks @christianbrodbeck!

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.

4 participants