#NEWLINE# def add_origin( ax , geom , origin ) : #NEWLINE# #INDENT# ( x , y ) = xy = affinity . interpret_origin ( geom , origin , 2 ) #NEWLINE# ax . plot ( x , y , 'o' , color = GRAY , zorder = 1 ) #NEWLINE# ax . annotate ( str ( xy ) , xy = xy , ha = 'center' , textcoords = 'offset points' , xytext = ( 0 , 8 ) )