class_docstr: Plot functions for mixed type x & y axes:
  
  Methods:
      - bar
      - bar_stacked
      - lollipop
      - parallel
class_docstr_tok: ["Plot","functions","for","mixed","type","x","&","y","axes",":","Methods",":","-","bar","-","bar_stacked","-","lollipop","-","parallel"]
docstr: Get the bar width based on the number of factors
docstr_tok: ["Get","the","bar","width","based","on","the","number","of","factors"]
code: 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
  
imports: import bokeh
  import pandas
  import numpy
  from chartify._core.colors import Color, color_palettes
  from chartify._core.axes import NumericalYMixin, NumericalXMixin
  from scipy.stats import gaussian_kde
label_desc: Use image node_id 3 for calling the PlotMixedTypeXY obj's underlying member method code with example usage: obj._get_bar_width(factors) and returns: int, int, int, int