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

Skip to content

Commit 414548b

Browse files
committed
Remove deprecated get_example_data.
The function has been raising NotImplementedError since 2009.
1 parent b078a19 commit 414548b

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

lib/matplotlib/__init__.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -755,15 +755,6 @@ def _get_data_path_cached():
755755
always=False)
756756

757757

758-
def get_example_data(fname):
759-
"""
760-
get_example_data is deprecated -- use matplotlib.cbook.get_sample_data
761-
instead
762-
"""
763-
raise NotImplementedError('get_example_data is deprecated -- use '
764-
'matplotlib.cbook.get_sample_data instead')
765-
766-
767758
def get_py2exe_datafiles():
768759
datapath = get_data_path()
769760
_, tail = os.path.split(datapath)

0 commit comments

Comments
 (0)