8000 Remove deprecated nonorm and normalize · matplotlib/matplotlib@4bdc6c9 · GitHub
[go: up one dir, main page]

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 4bdc6c9

Browse files
committed
Remove deprecated nonorm and normalize
1 parent 2296f20 commit 4bdc6c9

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

lib/matplotlib/colors.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1308,14 +1308,6 @@ def __call__(self, value, clip=None):
13081308
def inverse(self, value):
13091309
return value
13101310

1311-
# compatibility with earlier class names that violated convention:
1312-
normalize = cbook.deprecated('1.3', alternative='Normalize',
1313-
name='normalize',
1314-
obj_type='class alias')(Normalize)
1315-
no_norm = cbook.deprecated('1.3', alternative='NoNorm',
1316-
name='no_norm',
1317-
obj_type='class alias')(NoNorm)
1318-
13191311

13201312
def rgb_to_hsv(arr):
13211313
"""

lib/matplotlib/pyplot.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@
5252

5353
# We may not need the following imports here:
5454
from matplotlib.colors import Normalize
55-
from matplotlib.colors import normalize # for backwards compat.
5655
from matplotlib.lines import Line2D
5756
from matplotlib.text import Text, Annotation
5857
from matplotlib.patches import Polygon, Rectangle, Circle, Arrow

0 commit comments

Comments
 (0)
0