how to check version of matplotlib in python 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__))