Closed kaustubhmote closed 9 years ago
Looks good, merging. I've found that getting matplotlib widgets to behave properly on all OS, version, and environments is hard. Keeping the button and trying to return the values is the best bet. Thanks for the contribution
Will also work with 3D and 4D datasets. Returning the p0 and p1 values does not seem to work for me (p0, p1) remanins = (0, 0) after closing the matplotlib window. But this seems to be related to matplotlib version and/or mode of use (ipython, spyder or terminal), so I will let it be for now and fall back to the printed values of p0 and p1