Skip to content

Commit d531440

Browse files
authored
Consertar gráfico scipy
1 parent d3896b5 commit d531440

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tutorial/notebooks/03-Tutorial_SciPy.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ y = x + 5*np.random.rand(10) - 6*np.random.rand(10)
118118
f = interp1d(x, y)
119119
120120
# Gráfico
121+
fig = plt.figure()
121122
t = np.linspace(0, 9, 50)
122123
plt.title('Exemplo: ajuste de curvas')
123124
plt.plot(x, y, 'r*')

0 commit comments

Comments
 (0)