hello,

I am trying to add some polygons to the wedge but I got a problem

when I calculate the position of the edge of the circle I get wrong coodinates and the circle seem to be confusing it doesn’t follow the y axis the radius in my case is 0.95 but in the figure it is around 0.7 in the y axis and 0.95 in the x axis

this is how I am getting the edge coordinates

def get_x_y(df,radius,text_offset=0,arc=0):

ang = 0

x =

y =

for d in df:

##d is the angle and ang is the cumulative angle

x.append((radius - text_offset) * cos(ang + d/2))

y.append((radius - text_offset) * sin(ang + d/2) + 1)

```
ang = ang + d
return x, y
```

``