Jesseniapacheco31
Jesseniapacheco31
18.12.2019 • 
Mathematics

You write the following code: x = [1, 3, 4, 6, 3, 7, 4, 8, 9 5, 2, 4] plt.hist(x) plt.show() you need to extend the plt.hist() command to specifically set the number of bins to 4. what should you do? group of answer choices add a second argument to plt.hist() to set the bin size: plt.hist(x, 4) add nothing, the number of bins will automatically be set to 4. a two additional arguments to plt.hist to set the bin range: plt.hist(x, min(x), max(x)) add a command after plt.hist() before plt.show(): plt.binsize(4)

Solved
Show answers

Ask an AI advisor a question