diff --git a/lib/mpl_toolkits/axes_grid1/axes_rgb.py b/lib/mpl_toolkits/axes_grid1/axes_rgb.py index 9d0166675b7d..908df2cf2ab1 100644 --- a/lib/mpl_toolkits/axes_grid1/axes_rgb.py +++ b/lib/mpl_toolkits/axes_grid1/axes_rgb.py @@ -115,20 +115,10 @@ def __init__(self, *args, pad=0, add_all=True, **kwargs): kwargs["add_all"] = add_all # only show deprecation in that case self.R, self.G, self.B = make_rgb_axes( ax, pad=pad, axes_class=axes_class, **kwargs) - self._config_axes() - - def _config_axes(self, line_color='w', marker_edge_color='w'): - """ - Set the line color and ticks for the axes. - - Parameters - ---------- - line_color : color - marker_edge_color : color - """ + # Set the line color and ticks for the axes. for ax1 in [self.RGB, self.R, self.G, self.B]: - ax1.axis[:].line.set_color(line_color) - ax1.axis[:].major_ticks.set_markeredgecolor(marker_edge_color) + ax1.axis[:].line.set_color("w") + ax1.axis[:].major_ticks.set_markeredgecolor("w") @cbook.deprecated("3.3") def add_RGB_to_figure(self):