def _config_axes(self, X, Y):
ax = self.ax<EOL>ax.set_frame_on(False)<EOL>ax.set_navigate(False)<EOL>xy = self._outline(X, Y)<EOL>ax.update_datalim(xy)<EOL>ax.set_xlim(*ax.dataLim.intervalx)<EOL>ax.set_ylim(*ax.dataLim.intervaly)<EOL>self.outline = lines.Line2D(xy[:, <NUM_LIT:0>], xy[:, <NUM_LIT:1>], color=mpl.rcParams['<STR_LIT>'],<EOL>linewidth=mpl.rcParams['<STR_LIT>'])<EOL>ax.add_artist(self.outline)<EOL>self.outline.set_clip_box(None)<EOL>self.outline.set_clip_path(None)<EOL>c = mpl.rcParams['<STR_LIT>']<EOL>self.patch = patches.Polygon(xy, edgecolor=c,<EOL>facecolor=c,<EOL>linewidth=<NUM_LIT>,<EOL>zorder=-<NUM_LIT:1>)<EOL>ax.add_artist(self.patch)<EOL>ticks, ticklabels, offset_string = self._ticker()<EOL>if self.orientation == '<STR_LIT>':<EOL><INDENT>ax.set_xticks([])<EOL>ax.yaxis.set_label_position('<STR_LIT:right>')<EOL>ax.yaxis.set_ticks_position('<STR_LIT:right>')<EOL>ax.set_yticks(ticks)<EOL>ax.set_yticklabels(ticklabels)<EOL>ax.yaxis.get_major_formatter().set_offset_string(offset_string)<EOL><DEDENT>else:<EOL><INDENT>ax.set_yticks([])<EOL>ax.xaxis.set_label_position('<STR_LIT>')<EOL>ax.set_xticks(ticks)<EOL>ax.set_xticklabels(ticklabels)<EOL>ax.xaxis.get_major_formatter().set_offset_string(offset_string)<EOL><DEDENT>
Make an axes patch and outline.