Skip to content

Commit

Permalink
(altair_utils): allow legend text to fully display
Browse files Browse the repository at this point in the history
  • Loading branch information
tiffanychu90 committed Dec 10, 2021
1 parent 36d2a8b commit a75bd9a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion _shared_utils/shared_utils/altair_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ def preset_chart_config(chart):
.configure_legend(labelColor=blackTitle, labelFont=font, labelFontSize=11,
padding=1,symbolSize=30,symbolType= 'square',
titleColor=blackTitle, titleFont=font, titleFontSize=14,
titlePadding=10,)
titlePadding=10,
labelLimit=0
)
)
return chart

0 comments on commit a75bd9a

Please sign in to comment.