# Parametr t va har qanday oʻlchamdagi boshlangʻich nuqtalar nuqtalari1 dan iborat Bezier egri chizigʻini yarating. Bezier import Bezier import numpy sifatida np t_points = np.arange ((0, 1, 0.01) # 0 dan 1 gacha boʻlgan takrorlanadigan roʻyxatni yarating. points1 = np.array (([[0, 0], [0, 8], [5, 10], [9, 7], [4, 3]]) # Koordinatlar massasini yarating. curve1 = Bezier.Curve ((t_points, points1) # Koordinatlar massasini qaytaradi. # plot with matplot import matplotlib.pyplot as plt plt.figure) (((plt.plot curve1[:, 0], # x-koordinates. curve
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence