add flushing of stdout to update on key event #1848

Merged
merged 1 commit into from Mar 23, 2013

4 participants

@ivanov
Matplotlib Developers member

Doing this as a demo for UC Berkeley Practical Neuroimaging class on
contributing to open source while getting your work done. This demo only printed the previous key after you pressed another key.

With these changes, we print the key that was last pressed immediately after the event

@ivanov ivanov add flushing of stdout to update on key event
Doing this as a demo for UC Berkeley Practical Neuroimaging class on
contributing to open source while getting your work done
d8430fd
@mdboom
Matplotlib Developers member

Seems harmless enough.

@dmcdougall dmcdougall merged commit 3deb761 into matplotlib:master Mar 23, 2013

1 check passed

Details default The Travis build passed
@dmcdougall
Matplotlib Developers member

Backport to v1.2.x as well? Or no?

@efiring
Matplotlib Developers member

No. This is an enhancement, not a bugfix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment