需要安装的工具包:matplotlib
代码示例:
#!/usr/bin/env python
# # -*- coding: utf-8 -*-
# # Author:'ZML'
# # Time:2020/03/13 22:13
import matplotlib.pyplot as plt
from mpl_toolkits.mplot3d import Axes3D
import numpy as np
# 随机种子
np.random.seed(1)
def randrange(n, vmin, vmax):
'''
使数据分布均匀(vmin,