FunctionRacerProblemsRace

Bar for Each Name

BeginnermatplotlibPython

Draw a bar chart with one bar per name: the bar of names[i] is values[i] tall. Return the figure.

Checked: the bars and the x tick labels.

Example 1

names ["tea","milk","jam"]
values [3,5,2]
draws
The chart to draw in example 1 of Bar for Each Name

Constraints

Race itor take your time

Write it in your browser, against the clock. The model solution, stepped through line by line, comes after.

More matplotlib problems