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.
2 parents 682480c + 026b3d2 commit 920266fCopy full SHA for 920266f
lib/matplotlib/axis.py
@@ -432,8 +432,10 @@ def _get_text2_transform(self):
432
return self.axes.get_xaxis_text2_transform(self._pad)
433
434
def apply_tickdir(self, tickdir):
435
+ """Set tick direction. Valid values are 'in', 'out', 'inout'."""
436
if tickdir is None:
437
tickdir = mpl.rcParams['%s.direction' % self.__name__.lower()]
438
+ cbook._check_in_list(['in', 'out', 'inout'], tickdir=tickdir)
439
self._tickdir = tickdir
440
441
if self._tickdir == 'in':
0 commit comments