This is stemming from a previous question I asked last night here. In the matplotlib API there is the following call to return the path to matplotlib data:
matplotlib.get_data_path()
Where does this path come from? I printed the Python environment variables using:
print(os.environ)
and I do not find a similar path. There is nothing that I can see within the matplotlib API to change this path, like a matplotlib.set_data_path()
method. My problem is that the Navigation Toolbar icons (using a GTK backend) from a frozen script (using PyInstaller) are not showing up on some computers, and the culprit seems to be this path not being correct. Any assistance would be appreciated.