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

Skip to content

Commit 172b7e1

Browse files
author
domspad
committed
pylab to plt
1 parent 8538ef4 commit 172b7e1

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

examples/pylab_examples/break.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
#!/usr/bin/env python
2-
from pylab import *
1+
import matplotlib.pyplot as plt
32

3+
plt.gcf().text(0.5, 0.95, 'Distance Histograms by Category is \
4+
a really long title')
45

5-
gcf().text(0.5, 0.95,
6-
'Distance Histograms by Category is a really long title')
7-
8-
show()
6+
plt.show()

0 commit comments

Comments
 (0)