Course 3/6, 9/11

I really want to know why when I wrote hue_order =[“Male”, “Female”] it will give me an empty graph. What exactly does hue_order do?

Hi Naufalza! You ended up with a blank grid because the data is case-sensitive: use ["male", "female"] instead.

I’m not sure how it determines a default order, so the graphs didn’t look that different when I put the hue_order parameter. If I put ["female", "male"] instead, it swaps the colors on the graphs.

[Here’s the link to the mission for anyone else who’s interested in this topic.]

1 Like