Permalink
Browse files

Add a docstring

  • Loading branch information...
1 parent a25e300 commit eeac014d0741eeae1f3f247471331a787a4c990f @dmcdougall committed Aug 28, 2012
Showing with 12 additions and 0 deletions.
  1. +12 −0 lib/matplotlib/axes.py
View
@@ -940,6 +940,18 @@ def set_color_cycle(self, clist):
self._get_patches_for_fill.set_color_cycle(clist)
def set_artists_color(self, color):
+ """
+ Set the colour of several artists to *color* in one move. The argument
+ *color* is any mpl colour.
+
+ The default artists to colour are:
+
+ Tick labels
+ Tick marks
+ Axes grid lines (if they are on)
+ The axes frame
+ """
+
self.tick_params(colors=color)
[lx.set_color(color) for lx in self.get_xgridlines()]
[ly.set_color(color) for ly in self.get_ygridlines()]

0 comments on commit eeac014

Please sign in to comment.