Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7cb1ae3

Browse files
committed
Fixed plt.axis
1 parent 3645001 commit 7cb1ae3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/pylab_examples/simple_plot_fps.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
c = time.clock()
2525
for i in range(int(frames)):
2626
part = i / frames
27-
axis([0.0, 1.0 - part, -1.0 + part, 1.0 - part])
27+
plt.axis([0.0, 1.0 - part, -1.0 + part, 1.0 - part])
2828
wallclock = time.time() - t
2929
user = time.clock() - c
3030
print("wallclock:", wallclock)

0 commit comments

Comments
 (0)