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

Skip to content

Commit 15a7a19

Browse files
committed
FL8
1 parent a173b18 commit 15a7a19

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

lib/matplotlib/colorbar.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,6 @@ def __call__(self):
248248
ticks = super().__call__()
249249
return self._trim_ticks(np.asarray(ticks))
250250

251-
252251
def tick_values(self, vmin, vmax):
253252
if vmin is not None and vmax is not None and vmin > vmax:
254253
vmax, vmin = vmin, vmax
@@ -538,7 +537,7 @@ def _get_ticker_locator_formatter(self):
538537
minorformatter = self.minorformatter
539538

540539
if (self.boundaries is None and
541-
not isinstance(self.norm, colors.BoundaryNorm)):
540+
not isinstance(self.norm, colors.BoundaryNorm)):
542541
if locator is None:
543542
locator = _LocatorWrapper(
544543
self._long_axis().get_major_locator(), colorbar=self)

lib/matplotlib/scale.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,6 @@ def forward(values: array-like) -> array-like
178178
self._transform = transform
179179
self._kwargs = {'functions': functions}
180180

181-
182181
def get_transform(self):
183182
"""Return the `.FuncTransform` associated with this scale."""
184183
return self._transform
@@ -578,8 +577,7 @@ def __init__(self, axis, nonpositive='mask', *,
578577
self._use_overline = use_overline
579578
self._one_half = one_half
580579
self._kwargs = {'nonpositive': nonpositive, 'one_half': one_half,
581-
'use_overline':use_overline}
582-
580+
'use_overline': use_overline}
583581

584582
def get_transform(self):
585583
"""Return the `.LogitTransform` associated with this scale."""

0 commit comments

Comments
 (0)