Question: In [ ]: 3. Culmen length histogram In the next cell, use ax.hist to make a histogram of the lengths of the penguins' culmens
In [ ]: 3. Culmen length histogram In the next cell, use ax.hist to make a histogram of the lengths of the penguins' culmens by species. (This will involve going through all the steps as above, using ax.hist in place of ax. scatter). Pass the label and alpha arguments as before, along with the lengths. Your y-axis should be called "Density". In [ ]: 4. Plot by species and location Pick your favorite type of plot of the two -- scattergram or histogram -- and extend one of the two constructions in the cell below, this time plotting the penguins not just by species but by both species and location (for instance, separate them by commas). Adjust the text labels accordingly, and provide a legend.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
