Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d148756 commit 5373a98Copy full SHA for 5373a98
lib/matplotlib/colors.py
@@ -1046,7 +1046,6 @@ def ticks(self, N=13):
1046
ticks = self.inverse(np.linspace(0, 1, N))
1047
finalticks = np.zeros(ticks.shape, dtype=np.bool)
1048
finalticks[0] = True
1049
- finalticks[0] = True
1050
ticks = FuncNorm._round_ticks(ticks, finalticks)
1051
1052
return ticks
@@ -1223,14 +1222,6 @@ def _build_finv(self):
1223
1222
def _update_f(self, vmin, vmax):
1224
self._f = self._build_f()
1225
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
-
1234
return
1235
1236
def ticks(self, N=None):
0 commit comments