Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Closed
Labels
Milestone
Description
Bug report
Bug summary
inax.tick_params, I get this error
keyword labelrotation is not recognized
Code for reproduction
ax.tick_params(labelsize=10,labelrotation=40)
Actual outcome
---------------------------------------------------------------------------ValueError Traceback (most recent call last)<ipython-input-186-fd6800d79e43> in <module>() 12 13 ---> 14 ax.tick_params(labelsize=10,labelrotation=40) 15 16 ax.set_xlabel('Fat',fontsize=16)/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/mpl_toolkits/mplot3d/axes3d.py in tick_params(self, axis, **kwargs) 1395 This function was added, but not tested. Please report any bugs. 1396 """-> 1397 Axes.tick_params(self, axis, **kwargs) 1398 if axis in ['z', 'both'] : 1399 zkw = dict(kwargs)/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/matplotlib/axes/_base.py in tick_params(self, axis, **kwargs) 2711 xkw.pop('labelleft', None) 2712 xkw.pop('labelright', None)-> 2713 self.xaxis.set_tick_params(**xkw) 2714 if axis in ['y', 'both']: 2715 ykw = dict(kwargs)/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/matplotlib/axis.py in set_tick_params(self, which, reset, **kw) 789 if which == 'minor' or which == 'both': 790 dicts.append(self._minor_tick_kw)--> 791 kwtrans = self._translate_tick_kw(kw, to_init_kw=True) 792 for d in dicts: 793 if reset:/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/matplotlib/axis.py in _translate_tick_kw(kw, to_init_kw) 860 raise ValueError( 861 "keyword %s is not recognized; valid keywords are %s"--> 862 % (key, kwkeys)) 863 kwtrans.update(kw) 864 else:ValueError: keyword labelrotation is not recognized; valid keywords are ['size', 'width', 'color', 'tickdir', 'pad', 'labelsize', 'labelcolor', 'zorder', 'gridOn', 'tick1On', 'tick2On', 'label1On', 'label2On', 'length', 'direction', 'left', 'bottom', 'right', 'top', 'labelleft', 'labelbottom', 'labelright', 'labeltop']