¡@

Home 

python Programming Glossary: facecolor

custom matplotlib plot : chess board like table with colored cells

http://stackoverflow.com/questions/10194482/custom-matplotlib-plot-chess-board-like-table-with-colored-cells

i j width height text fmt.format val loc 'center' facecolor color # Row Labels... for i label in enumerate data.index tb.add_cell.. i 1 width height text label loc 'right' edgecolor 'none' facecolor 'none' # Column Labels... for j label in enumerate data.columns.. j width height 2 text label loc 'center' edgecolor 'none' facecolor 'none' ax.add_table tb return fig if __name__ '__main__' main..

How to make several plots on a single page using matplotlib?

http://stackoverflow.com/questions/1358977/how-to-make-several-plots-on-a-single-page-using-matplotlib

relpdf 0 print bins patches plt.bar bins relpdf 0 width 10 facecolor 'black' titlename easygui.enterbox msg 'write graph title' title..

How can I attach a pyplot function to a figure instance?

http://stackoverflow.com/questions/14254379/how-can-i-attach-a-pyplot-function-to-a-figure-instance

import figure contour fig1 figure figsize 4 4 facecolor 'white' contour X Y Z response HttpResponse content_type 'image.. the contour method of the subplot fig1 figure figsize 4 4 facecolor 'white' ax fig1.add_subplot 111 ax.contour X Y Z plt.subplots..

Figure GUI freezing

http://stackoverflow.com/questions/14647491/figure-gui-freezing

1 plt.bar fichier 0 fichier 1 align 'center' width 0.0001 facecolor 'b' label US x1 x2 y1 y2 plt.axis x1 x1 0.0001 plt.axis x1 x2.. plt.bar fichier1 0 fichier1 1 align 'center' width 0.0001 facecolor 'b' label response plt.axis x1 x2 y1 1.2 plt.legend ncol 3 prop.. 0 fichier1 0 fichier1 1 align 'center' width 0.0001 facecolor 'b' label Error plt.axis x1 x2 y1 1.2 plt.legend ncol 3 prop..

How to detect a Christmas Tree?

http://stackoverflow.com/questions/20772893/how-to-detect-a-christmas-tree

figures fgsz 16 7 figthresh plt.figure figsize fgsz facecolor 'w' figclust plt.figure figsize fgsz facecolor 'w' figcltwo.. fgsz facecolor 'w' figclust plt.figure figsize fgsz facecolor 'w' figcltwo plt.figure figsize fgsz facecolor 'w' figborder.. fgsz facecolor 'w' figcltwo plt.figure figsize fgsz facecolor 'w' figborder plt.figure figsize fgsz facecolor 'w' figthresh.canvas.set_window_title..

How do you change the size of figures drawn with matplotlib?

http://stackoverflow.com/questions/332289/how-do-you-change-the-size-of-figures-drawn-with-matplotlib

you the call signature figure num None figsize 8 6 dpi 80 facecolor 'w' edgecolor 'k' So figure figsize 1 1 creates an inch by inch..

How to set opacity of background colour of graph wit Matplotlib

http://stackoverflow.com/questions/4581504/how-to-set-opacity-of-background-colour-of-graph-wit-matplotlib

you want more fine grained control you can simply set the facecolor and or alpha values for the figure and axes background patch... transparent we can either set the alpha to 0 or set the facecolor to 'none' as a string not the object None e.g. import matplotlib.pyplot.. matplotlib.pyplot as plt fig plt.figure fig.patch.set_facecolor 'blue' fig.patch.set_alpha 0.7 ax fig.add_subplot 111 ax.plot..

Matplotlib - label each bin

http://stackoverflow.com/questions/6352740/matplotlib-label-each-bin

n rotation 'vertical' for patch in patches patch.set_facecolor 'r' pyplot.title 'Spam and Ham' pyplot.xlabel 'Time in seconds.. or ax.set_xticks . Also you don't need to manually set the facecolor of the patches. You can just pass in a keyword argument. For.. 82 fig ax plt.subplots counts bins patches ax.hist data facecolor 'yellow' edgecolor 'gray' # Set the ticks to be at the edges..

How can I release memory after creating matplotlib figures

http://stackoverflow.com/questions/7101404/how-can-i-release-memory-after-creating-matplotlib-figures

b np.random.randn 1000000 fig plt.figure num 1 dpi 100 facecolor 'w' edgecolor 'w' fig.set_size_inches 10 7 ax fig.add_subplot..

matplotlib savefig() plots different from show()

http://stackoverflow.com/questions/7906365/matplotlib-savefig-plots-different-from-show

at these savefig.dpi 100 # figure dots per inch savefig.facecolor white # figure facecolor when saving savefig.edgecolor white.. # figure dots per inch savefig.facecolor white # figure facecolor when saving savefig.edgecolor white # figure edgecolor when.. line ### FIGURE figure.figsize 8 6 figure.dpi 80 figure.facecolor 0.75 figure.edgecolor white As you can see by comparing the..