Skip to content

Commit

Permalink
fix : #324 key error pie_hole (#326)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdlom committed Jun 23, 2023
1 parent 5129f4a commit 68f303c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DataPlotly/core/plot_types/pie.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def create_trace(settings):
'colors': settings.data_defined_colors if settings.data_defined_colors else [settings.properties['in_color']]
},
name=settings.properties['custom'][0],
hole=settings.properties['pie_hole']
hole=settings.get('pie_hole', 0)
)]

@staticmethod
Expand Down

0 comments on commit 68f303c

Please sign in to comment.