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

Small fixes for Animation and Progress notebook #1605

Merged
merged 1 commit into from Apr 15, 2012

Conversation

jenshnielsen
Copy link
Contributor

The new progress notebook example works nicely.

However there are two minor issues,

When from future import division is used
len(self.prog_bar) / 2 is not an integer so I changed it to
len(self.prog_bar) // 2

In addition but less important when pylab_import_all is False linspace is not in the global name space
so I changed that to np.linspace

@minrk
Copy link
Member

minrk commented Apr 15, 2012

Sensible enough, thanks!

minrk added a commit that referenced this pull request Apr 15, 2012
Small fixes for Animation and Progress notebook

use explicit integer division and don't rely on pylab_import_all
@minrk minrk merged commit a1bcd07 into ipython:master Apr 15, 2012
mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this pull request Nov 3, 2014
Small fixes for Animation and Progress notebook

use explicit integer division and don't rely on pylab_import_all
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.

None yet

2 participants