Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f45d3ee

Browse files
committed
referenced mpl in __init__. fixed now
svn path=/trunk/matplotlib/; revision=2158
1 parent 40c64c1 commit f45d3ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -364,9 +364,9 @@ def _get_data_path():
364364
def get_py2exe_datafiles():
365365
import glob
366366

367-
mplfiles = glob.glob(os.sep.join([matplotlib.get_data_path(), '*']))
367+
mplfiles = glob.glob(os.sep.join([get_data_path(), '*']))
368368
# Need to explicitly remove cocoa_agg files or py2exe complains
369-
mplfiles.remove(os.sep.join([matplotlib.get_data_path(), 'Matplotlib.nib']))
369+
mplfiles.remove(os.sep.join([get_data_path(), 'Matplotlib.nib']))
370370

371371
return ('matplotlibdata', mplfiles)
372372

0 commit comments

Comments
 (0)