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

Skip to content

Commit 256e49e

Browse files
authored
Merge pull request #12043 from anntzer/py2exe
Deprecate get_py2exe_datafiles.
2 parents 6b01761 + 592875d commit 256e49e

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

doc/api/next_api_changes/2018-08-17-AL-deprecations.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ API deprecations
33

44
The following API elements are deprecated:
55

6-
- ``tk_window_focus``,
6+
- ``get_py2exe_datafiles``, ``tk_window_focus``,
77
- ``backend_ps.PsBackendHelper``, ``backend_ps.ps_backend_helper``,
88
- ``cbook.iterable``,
99
- ``mlab.demean``,

doc/faq/howto_faq.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -606,8 +606,8 @@ Write a tutorial on the signal analysis plotting functions like
606606
:func:`~matplotlib.pyplot.specgram`. Do you use Matplotlib with
607607
`django <https://www.djangoproject.com/>`_ or other popular web
608608
application servers? Write a FAQ or tutorial and we'll find a place
609-
for it in the :ref:`users-guide-index`. Bundle Matplotlib in a
610-
`py2exe <http://www.py2exe.org/>`_ app? ... I think you get the idea.
609+
for it in the :ref:`users-guide-index`. And so on... I think you get the
610+
idea.
611611

612612
Matplotlib is documented using the `sphinx
613613
<http://www.sphinx-doc.org/index.html>`_ extensions to restructured text

lib/matplotlib/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -682,6 +682,7 @@ def get_data_path():
682682
return defaultParams['datapath'][0]
683683

684684

685+
@cbook.deprecated("3.1")
685686
def get_py2exe_datafiles():
686687
data_path = Path(get_data_path())
687688
d = {}

0 commit comments

Comments
 (0)