Trying to find a simple way to shrink the tick labels for this plot - since I can have many tiny histograms, the labels need to be smaller, but it isn't obvious to me how to simply shrink them.
code snippet... num = len(datasets) fig = plt.figure() rows = np.int(np.sqrt(num)) cols = np.int(float(num)/float(rows)+.9) for i in range(num): ax = fig.add_subplot(rows, cols, i+1) ax.hist(datasets[i][np.isfinite(datasets[i])], bins=60 ) ax.set_xlabel(labels[i], size = 9) ax.set_ylabel('Counts', size = 9) plt.show() -- ----------------------------------------------------------------------- | Alan K. Jackson | To see a World in a Grain of Sand | | a...@ajackson.org | And a Heaven in a Wild Flower, | | www.ajackson.org | Hold Infinity in the palm of your hand | | Houston, Texas | And Eternity in an hour. - Blake | ----------------------------------------------------------------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users