Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 77b5d00 + 619ee42 commit 4c396acCopy full SHA for 4c396ac
1 file changed
examples/pylab_examples/accented_text.py
@@ -9,14 +9,14 @@
9
\^y
10
11
"""
12
-from pylab import *
+import matplotlib.pyplot as plt
13
14
-axes([0.1, 0.15, 0.8, 0.75])
15
-plot(range(10))
+plt.axes([0.1, 0.15, 0.8, 0.75])
+plt.plot(range(10))
16
17
-title(r'$\ddot{o}\acute{e}\grave{e}\hat{O}\breve{i}\bar{A}\tilde{n}\vec{q}$', fontsize=20)
+plt.title(r'$\ddot{o}\acute{e}\grave{e}\hat{O}\breve{i}\bar{A}\tilde{n}\vec{q}$', fontsize=20)
18
# shorthand is also supported and curly's are optional
19
-xlabel(r"""$\"o\ddot o \'e\`e\~n\.x\^y$""", fontsize=20)
+plt.xlabel(r"""$\"o\ddot o \'e\`e\~n\.x\^y$""", fontsize=20)
20
21
22
-show()
+plt.show()
0 commit comments