Given a dictionary as below,
dict1 = {l: 12, b: 20, k:1, a:10, d:30 }
Wanted to draw charts are which represent the sum of each possible combination of the numbers in the dictionary. Chart representation of the one possible combination would be as below.
The combinations are ordered in the descending order of the sum. Within the combination, the element are shown in the descending order of the value.
I need some help to go about this in a Jupyter notebook with matplotlib
or seaborn
or similar libraries.
from Draw chart of sum combinations of numbers from a dictionary
No comments:
Post a Comment