I'm a member of The Carpentries Core Team and I'm submitting this issue on behalf of another member of the community. In most cases, I won't be able to follow up or provide more details other than what I'm providing below.
Swap the order of lines 327 (fig = plt.gcf() # get current figure) and 328 (data.plot(kind='bar'). This will then correctly save the bar plot as the last global plot. Currently, this code does not save and generates an empty plot file.
I'm a member of The Carpentries Core Team and I'm submitting this issue on behalf of another member of the community. In most cases, I won't be able to follow up or provide more details other than what I'm providing below.
Swap the order of lines 327 (fig = plt.gcf() # get current figure) and 328 (data.plot(kind='bar'). This will then correctly save the bar plot as the last global plot. Currently, this code does not save and generates an empty plot file.