def gca(self, **kwargs):
ax = self._axstack()<EOL>if ax is not None:<EOL><INDENT>ispolar = kwargs.get('<STR_LIT>', False)<EOL>projection = kwargs.get('<STR_LIT>', None)<EOL>if ispolar:<EOL><INDENT>if projection is not None and projection != '<STR_LIT>':<EOL><INDENT>raise ValueError(<EOL>"<STR_LIT>" +<EOL>"<STR_LIT>" %<EOL>projection)<EOL><DEDENT>projection = '<STR_LIT>'<EOL><DEDENT>projection_class = get_projection_class(projection)<EOL>if isinstance(ax, projection_class):<EOL><INDENT>return ax<EOL><DEDENT><DEDENT>return self.add_subplot(<NUM_LIT>, **kwargs)<EOL>
Return the current axes, creating one if necessary

The following kwargs are supported
%(Axes)s