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

Skip to content

Commit 3237401

Browse files
authored
Merge pull request #25454 from anntzer/tn
Remove unnecessary norm typecheck in tripcolor().
2 parents 08f75ac + 6d8d9f2 commit 3237401

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/matplotlib/tri/_tripcolor.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
from matplotlib import _api
44
from matplotlib.collections import PolyCollection, TriMesh
5-
from matplotlib.colors import Normalize
65
from matplotlib.tri._triangulation import Triangulation
76

87

@@ -115,7 +114,6 @@ def tripcolor(ax, *args, alpha=1.0, norm=None, cmap=None, vmin=None,
115114
if 'antialiaseds' not in kwargs and ec.lower() == "none":
116115
kwargs['antialiaseds'] = False
117116

118-
_api.check_isinstance((Normalize, None), norm=norm)
119117
if shading == 'gouraud':
120118
if facecolors is not None:
121119
raise ValueError(

0 commit comments

Comments
 (0)