get version of matplotlib 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__))
import matplotlib
print(matplotlib.__version__)
import matplotlib
print('matplotlib: {}'.format(matplotlib.__version__))