<｜begin▁of▁sentence｜>### Instruction:
Given a list of degrees representing the connectivity of each node in a network, how would you plot a histogram to display the frequency of each degree?
### Response:
from matplotlib import pyplot as plt
<|EOT|>
