fork download
  1. import numpy as np
  2.  
  3. import matplotlib.pyplot as pl
  4.  
  5. import sys
  6.  
  7. a = -3
  8. b = 5
  9. file1 ='1111'
  10.  
  11. y, x = np.ogrid[-5:5:100j, -5:5:100j]
  12. plt.contour(x.ravel(), y.ravel(), pow(y, 2) - pow(x, 3) - x * a - b, [0])
  13. plt.grid()
  14. plt.show()
Runtime error #stdin #stdout #stderr 0.56s 59224KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
Traceback (most recent call last):
  File "prog.py", line 12, in <module>
NameError: name 'plt' is not defined