jjhelmus / nmrglue

A module for working with NMR data in Python
BSD 3-Clause "New" or "Revised" License
211 stars 86 forks source link

Modified data selection so that direct dimension is picked up. #37

Closed kaustubhmote closed 9 years ago

kaustubhmote commented 9 years ago

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

jjhelmus commented 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