1
ruxuan1306 2021-09-06 16:38:25 +08:00
```python
import numpy as np import matplotlib.pyplot as plt fig = plt.figure() ax = fig.add_subplot() ax.set_yticks(np.linspace(2507, 2991, 53)) ax.set_ylim(2507, 2991) x = np.random.randint(2507, 2991, (10,)) y = x ax.scatter(x, y) fig.show() ``` |
2
QGabriel OP @ruxuan1306 大佬 我这怎么运行不了呢...小火箭弹出来就关闭了
|