소스 검색

minor change in plotting of part locations

Dimitri Korsch 3 년 전
부모
커밋
9a2dc7e6b3
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      cvdatasets/dataset/part/annotation.py

+ 2 - 2
cvdatasets/dataset/part/annotation.py

@@ -55,7 +55,7 @@ class LocationPart(BasePart):
 				fill=fill, linestyle=linestyle,
 				**kwargs))
 
-			ax.scatter(*self.middle, marker="x", color="white", alpha=0.8)
+			ax.scatter(*self.middle, marker="x", color="yellow", alpha=1.0, s=60)
 		return self._generic_op(im, ratio, op)
 
 
@@ -115,5 +115,5 @@ class BBoxPart(BasePart):
 			**kwargs
 		))
 
-		ax.scatter(*self.middle, marker="x", color="white", alpha=0.8)
+		ax.scatter(*self.middle, marker="x", color="yellow", alpha=1.0, s=60)