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 9d1a393 + 424ac64 commit eec68e4Copy full SHA for eec68e4
1 file changed
lib/matplotlib/pyplot.py
@@ -15,6 +15,7 @@
15
x = np.arange(0, 5, 0.1)
16
y = np.sin(x)
17
plt.plot(x, y)
18
+ plt.show()
19
20
The explicit object-oriented API is recommended for complex plots, though
21
pyplot is still usually used to create the figure and often the Axes in the
@@ -29,6 +30,7 @@
29
30
31
fig, ax = plt.subplots()
32
ax.plot(x, y)
33
34
35
36
See :ref:`api_interfaces` for an explanation of the tradeoffs between the
0 commit comments