plottools.style.noxticks¶
-
plottools.style.
noxticks
(axes=None)[source]¶ Sets a style with no ticks on the x axis
Parameters: axes : matplotlib axes object
the axes to which to apply the style, if omitted the current axis obtained with plt.gca() it styled
Examples
>>> import matplotlib.pyplot as plt >>> import numpy as np >>> import plottools >>> plt.plot(np.arange(10),10*np.random.random(10)) >>> plottools.style.noxticks() >>> plt.show()
(Source code, png, hires.png, pdf)