Making book work in Python 2.7

This commit is contained in:
Roger Labbe
2016-03-06 08:18:27 -08:00
parent f62fb8bbe8
commit fb21cf6313
7 changed files with 213 additions and 189 deletions

View File

@@ -64,12 +64,6 @@ test_filterpy_version()
pylab.rcParams['figure.max_open_warning'] = 50
def end_interactive(fig):
""" end interaction in a plot created with %matplotlib notebook """
import time
plt.gcf().canvas.draw()
time.sleep(0.1)
plt.close(fig)
def equal_axis():
pylab.rcParams['figure.figsize'] = 10,10