check Matplotlib version in jupyter notebook code example
Example 1: to see version matplotlib
import matplotlib
print(matplotlib.__version__)
Example 2: to see version matplotlib
import matplotlib
print('matplotlib: {}'.format(matplotlib.__version__))