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

Browse filesBrowse files
committed
Fix missing norm2 in BivaraiteNorm
1 parent 8425637 commit 4a5831d
Copy full SHA for 4a5831d

File tree

Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed

‎lib/matplotlib/colors.py

Copy file name to clipboardExpand all lines: lib/matplotlib/colors.py
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1431,7 +1431,8 @@ def inverse(self, values):
14311431
-------
14321432
A list of two unnormalized values
14331433
"""
1434-
return [self.norm1.inverse(values[0]), self.norm.inverse(values[1])]
1434+
return np.asarray([self.norm1.inverse(values[0]),
1435+
self.norm2.inverse(values[1])])
14351436

14361437

14371438
def rgb_to_hsv(arr):

0 commit comments

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