Interactive curve fitting using guiqwt's guifit