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

Skip to content

Commit a44f66e

Browse files
committed
labelcolor param now changes offset text color
1 parent 7d66623 commit a44f66e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lib/matplotlib/axis.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -796,6 +796,8 @@ def set_tick_params(self, which='major', reset=False, **kw):
796796
if which == 'minor' or which == 'both':
797797
for tick in self.minorTicks:
798798
tick._apply_params(**self._minor_tick_kw)
799+
if 'labelcolor' in kwtrans:
800+
self.offsetText.set_color(kwtrans['labelcolor'])
799801
self.stale = True
800802

801803
@staticmethod

0 commit comments

Comments
 (0)