为什么我使用小乌龟画图会显示俩个对话框!!!
import numpy as npimport matplotlib.pyplot as plt
import turtle as t
plt.rcParams['font.sans-serif'] = ['SimHei']
plt.rcParams['axes.unicode_minus'] = False
t.penup()
r = 100.0
a, b = (0., 0.)
theta = np.arange(0, 100*np.pi, 0.01)
x = a + r * np.cos(theta)
y = b + r * np.sin(theta)
fig = plt.figure()
axes = fig.add_subplot(111)
axes.plot(x, y)
m=
n=
plt.plot(m,n,'o')
页:
[1]