John Hunter schrieb: > > > http://matplotlib.sourceforge.net/api/artist_api.html#matplotlib.patches.Rectangle > > Those docs will show you all the properties (alpha, antialiased, > ...facecolor, etc...) Each property has a link to the setter method. > So I advise something like > > # the names "self.rectangles" is better than "self.bar" IMO since > it describe whats kinds of mpl > # object it are referring to > self.rectangles = self.ax2.bar(something) > for rectangle in self.rectangles: > rectangle.set_alpha(0.4) > rectangle.set_facecolor('green') > Thanks for your Answer,
i want to fill new xdata and new ydata to my bar() Elements. in the docu there is something written of, set_x() set_y() Is this of interest for me ? My xdata and ydata are 1D Vectors like, x = [1, 2, 4, 2, ...] y = [1, 0, 0, 1, ...] Regards Markus ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users