From 71b21c630f02dba0fb51a7e2a41f380ac89e00dc Mon Sep 17 00:00:00 2001 From: richardsheridan Date: Fri, 19 Feb 2021 06:57:50 -0500 Subject: [PATCH] Use public get_data_path Private removed in 3.4.0rc1 --- PyInstaller/hooks/hook-matplotlib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PyInstaller/hooks/hook-matplotlib.py b/PyInstaller/hooks/hook-matplotlib.py index baf3a5146e5..9e4f92ba9c3 100644 --- a/PyInstaller/hooks/hook-matplotlib.py +++ b/PyInstaller/hooks/hook-matplotlib.py @@ -13,7 +13,7 @@ from PyInstaller.utils.hooks import exec_statement mpl_data_dir = exec_statement( - "import matplotlib; print(matplotlib._get_data_path())") + "import matplotlib; print(matplotlib.get_data_path())") datas = [ (mpl_data_dir, "matplotlib/mpl-data"),