浏览代码

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)