R interface: loop.angle degrees not radians
Bug #517685 reported by
Keith Ponting
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
igraph |
Fix Released
|
Low
|
Unassigned |
Bug Description
According to igraph.plotting man page, loop.angle is an angle in radians, but the code in plot.R appears to expect degrees - using angle/180*pi and similar. Supplying degrees to loop.angle achieves the desired effect.
Changed in igraph: | |
status: | New → Confirmed |
importance: | Undecided → Low |
To post a comment you must log in.
Fixed in revision #1573 (0.5-main) and #1762 (0.6-main). Parameter is interpreted in radian now.
Actually, since R graphical parameters are given in degrees (AFAIK), it would be better to have everything in degrees (label.degree, etc.).