Skip to content

Commit 16d3377

Browse files
committed
Remove redundant check
Remove redundant check
1 parent 8e33939 commit 16d3377

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/matplotlib/colorbar.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -580,9 +580,7 @@ def _reset_locator_formatter_scale(self):
580580
self.ax.set_xscale('log')
581581
self.ax.set_yscale('log')
582582

583-
if type(self.norm) == colors.LogNorm:
584-
self.minorticks_on()
585-
583+
self.minorticks_on()
586584
else:
587585
self.ax.set_xscale('linear')
588586
self.ax.set_yscale('linear')

0 commit comments

Comments
 (0)