Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 57ea260

Browse filesBrowse files
committed
Merge pull request matplotlib#2334 from andreabedini/patch-4
Remove disabled code.
2 parents 8985b1b + a3ce79e commit 57ea260
Copy full SHA for 57ea260

File tree

Expand file treeCollapse file tree

1 file changed

+0
-6
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+0
-6
lines changed

‎lib/matplotlib/__init__.py

Copy file name to clipboardExpand all lines: lib/matplotlib/__init__.py
-6Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -150,12 +150,6 @@ def _forward_ilshift(self, other):
150150
# Python 3
151151
from imp import reload
152152

153-
# Needed for toolkit setuptools support
154-
if 0:
155-
try:
156-
__import__('pkg_resources').declare_namespace(__name__)
157-
except ImportError:
158-
pass # must not have setuptools
159153

160154
if not hasattr(sys, 'argv'): # for modpython
161155
sys.argv = ['modpython']

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.