jiangming13 发表于 2022-9-17 12:24:57

为什么我使用小乌龟画图会显示俩个对话框!!!

import numpy as np
import 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]
查看完整版本: 为什么我使用小乌龟画图会显示俩个对话框!!!