본문 바로가기
코드보관소/Python

파이스크립트 테스트

by 위치결정 2022. 7. 3.
반응형
- numpy - matplotlib print('안녕 파이썬!!') print("

랜덤하게 점을 찍어봐!

")
import numpy as np def make_x_and_y(n): x = np.random.randn(n) y = np.random.randn(n) return x, y import matplotlib.pyplot as plt x, y = make_x_and_y(n=10) fig, ax = plt.subplots() ax.scatter(x, y) fig

https://itadventure.tistory.com/537

반응형

댓글