in chartify/_core/plot.py [0:0]
def _get_bar_width(factors):
"""Get the bar width based on the number of factors"""
n_factors = len(factors)
if n_factors == 1:
return 0.3
elif n_factors == 2:
return 0.5
elif n_factors == 3:
return 0.7
else:
return 0.9