aewallin / allantools

Allan deviation and related time & frequency statistics library in Python
GNU Lesser General Public License v3.0
226 stars 77 forks source link

move stable32-like plotting to Plot() #84

Closed aewallin closed 5 years ago

aewallin commented 5 years ago

stable32-like plotting functions (#83) are now in /examples - these could be merged with the existing Plot() object - perhaps with a few style-options to the user.

Use of special characters in pylab (or matplotlib?) - like tau and sigma - seems to require python3. If someone is eager to support python 2.x also then this would be a slight improvement.

fmeynadier commented 5 years ago

Good idea to put them there (and thank you @yxie-git for contributing that). I think it is useful to have this kind of plots, but I did not really see how to merge that properly with existing code.

In fact I am still not 100% convinced it should be merged in Plot() : having a predefined, familiar plot format sounds like a good idea but in practice I think users will want to tweak it as soon as they use it (as in issue #70)... I will try to think about it.

Concerning python 2.X support : clock is ticking... Numpy is in the process of deprecating 2.7 (no more automated testing in the dev branch: https://github.com/numpy/numpy/pull/12506). So personally I would not spend too much time trying to display correctly these characters in 2.X...

aewallin commented 5 years ago

OK, if there is no straightforward merge I will close this issue - at least for now.