fork download
  1. import matplotlib.pyplot as plt
  2.  
  3. circle = plt.Circle((0.5, 0.5), 0.2, fill = False)
  4.  
  5. fig, ax = plt.subplots()
  6. ax.add_artist(circle)
  7. ax.set_xlim(0, 1)
  8. ax.set_ylim(0, 1)
  9. plt.gca().set_aspect('equal', adjustable='box')
  10. plt.show()
Success #stdin #stdout 0.92s 55244KB
stdin
Standard input is empty
stdout
Standard output is empty