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

Skip to content

Commit 4e1e61e

Browse files
authored
Update _axes.py
1 parent 33ca222 commit 4e1e61e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

lib/matplotlib/axes/_axes.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7662,6 +7662,9 @@ def spy(self, Z, precision=0, marker=None, markersize=None,
76627662
if 'interpolation' in kwargs:
76637663
raise TypeError(
76647664
"spy() got an unexpected keyword argument 'interpolation'")
7665+
if 'norm' in kwargs:
7666+
raise TypeError(
7667+
"spy() got an unexpected keyword argument 'norm'")
76657668
ret = self.imshow(mask, norm=mcolors.NoNorm(),
76667669
interpolation='nearest', aspect=aspect,
76677670
origin=origin, **kwargs)

0 commit comments

Comments
 (0)