peal.global_utils.dict_to_bar_chart

peal.global_utils.dict_to_bar_chart(input_dict, name)[source]

Creates a bar chart from a dictionary and saves it as a PNG image.

Parameters:
  • interpretation – A dictionary where keys are strings and values are integers.

  • name – The desired filename (without the .png extension) to save the image.