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

Skip to content

Commit 071a0b8

Browse files
yannpaulefiring
authored andcommitted
_init() was not accessible because expected _init(self)
1 parent 07929d4 commit 071a0b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/colors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,7 @@ def _set_extremes(self):
601601
self._lut[self._i_over] = self._lut[self.N-1]
602602
self._lut[self._i_bad] = self._rgba_bad
603603

604-
def _init():
604+
def _init(self):
605605
'''Generate the lookup table, self._lut'''
606606
raise NotImplementedError("Abstract class only")
607607

0 commit comments

Comments
 (0)