Matplotlib Version Number

I have been running into some issues importing matplotlib into some other programs on my Raspberry Pi 3 and decided to run a quick test to see what version I have. My code was as follows:

import matplotlib
print (matplotlib.__version__)

After running the program, the compiler outputted the following:

3.2.1+2768.gda0895ef7

I installed 3.2.1 and have run this test program before where the compiler outputted only “3.2.1” but now the new string on the end raises some concern. Is this indicative of an issue? If so are there any solutions?

That looks like you have install Matplotlib from source. The version string is v3.2.1 + 2768 commits specifically at https://github.com/matplotlib/matplotlib/commit/da0895ef73ce854c3514ff87cd1ac91dd7b62b71 (which was the tip of master branch yesterday).