Skip to content
Snippets Groups Projects
Commit 16d550ff authored by Julian Lenz's avatar Julian Lenz
Browse files

Added callOrig option to FancyAxes

parent 330941da
No related branches found
No related tags found
No related merge requests found
......@@ -86,6 +86,9 @@ class FancyAxes(mpl.axes.Axes):
of the original plot().
'''
if kwargs.pop('callOrig',False):
return super().plot(*args,**kwargs)
# extract the new kwarg
withLines=kwargs.pop('withLines',False)
if isinstance(withLines,bool):
......@@ -169,6 +172,11 @@ class FancyAxes(mpl.axes.Axes):
CAUTION: Probably, this does not have the full convenience functionality
of the original plot().
'''
if kwargs.pop('callOrig',False):
return super().errorbar(*args,**kwargs)
if len(args)==0:
return None
# extract the new kwarg
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment