We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f718ac commit 0509adfCopy full SHA for 0509adf
1 file changed
template/startup_scripts/0002_data.py
@@ -290,7 +290,9 @@ def _extract_info(self, ax: Axes) -> None:
290
for wedge in ax.patches:
291
pie_data = PieData(
292
label=wedge.get_label(),
293
- angle=abs(_dynamic_round(wedge.theta2 - wedge.theta1)),
+ angle=abs(
294
+ _dynamic_round(Decimal(wedge.theta2) - Decimal(wedge.theta1))
295
+ ),
296
radius=wedge.r,
297
)
298
0 commit comments