Skip to content

Commit

Permalink
Use public get_data_path
Browse files Browse the repository at this point in the history
Private removed in 3.4.0rc1
  • Loading branch information
richardsheridan committed Feb 19, 2021
1 parent b9fcbbf commit 71b21c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PyInstaller/hooks/hook-matplotlib.py
Expand Up @@ -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"),
Expand Down

0 comments on commit 71b21c6

Please sign in to comment.