Skip to content

Fix bug that will krash Figure.__init__ even with registered keywords

Philipp Gast requested to merge kwargs_bug into undertest

this fixes the bug with unknown kwargs. Since it changes the interface of myFigure. All plots whould have to be addapted like so:

def init(self, *args, **kwargs): # needed

pdict={'logx'   : _D_LOGX ,
       'logy'   : _D_LOGY ,
       'xRange' : _D_XRANGE ,
       'yRange' : _D_YRANGE }

# Inherit constructor
MyFig.__init__(self, pdict,*args, **kwargs)

Merge request reports