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

Skip to content

Commit 5373a98

Browse files
committed
Corrected a double line, and removed a comment
1 parent d148756 commit 5373a98

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

lib/matplotlib/colors.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1046,7 +1046,6 @@ def ticks(self, N=13):
10461046
ticks = self.inverse(np.linspace(0, 1, N))
10471047
finalticks = np.zeros(ticks.shape, dtype=np.bool)
10481048
finalticks[0] = True
1049-
finalticks[0] = True
10501049
ticks = FuncNorm._round_ticks(ticks, finalticks)
10511050

10521051
return ticks
@@ -1223,14 +1222,6 @@ def _build_finv(self):
12231222
def _update_f(self, vmin, vmax):
12241223
self._f = self._build_f()
12251224
self._finv = self._build_finv()
1226-
#import matplotlib.pyplot as plt
1227-
# plt.figure()
1228-
# x=np.linspace(-1,2,100)
1229-
# plt.plot(x,self._f(x))
1230-
# y=np.linspace(0,1,100)
1231-
# plt.plot(self._finv(y),y)
1232-
# plt.show()
1233-
12341225
return
12351226

12361227
def ticks(self, N=None):

0 commit comments

Comments
 (0)