Python備忘録 Basic of ShapelyShapely
Polygonで簡単なリボンを書いてみました。 #@title デフォルトのタイトル テキスト #Import 'shapely.geometry.Point' class from shapely.geometry import Point points3 = [] for i in range ( 0 , 2 ): for j in range ( 0 , 2 ): points3.append (( i , j )) print ( points3 ) ribon = Polygon ( points3 ) ribon