http://matplotlib.sourceforge.net/examples/api/histogram_path_demo.html경로에 관한이 matplotlib 코드를 이해할 수 있습니까?
위의 코드를보고 있습니다. 코드 하단의 의미는 다음과 같습니다.
# we need a (numrects x numsides x 2) numpy array for the path helper
# function to build a compound path
XY = np.array([[left,left,right,right], [bottom,top,top,bottom]]).T
끝에 ".T"가있는 이유는 무엇입니까? 컴파운드 경로 란 무엇입니까?
# get the Path object
barpath = path.Path.make_compound_path_from_polys(XY)
나는 경로 객체가 무엇인지 이해하지 못한다. 누군가 설명하거나 튜토리얼을 가르쳐 줄 수 있는가?