traja-team / traja

Python tools for spatial trajectory and time-series data analysis
https://traja.readthedocs.io
MIT License
98 stars 25 forks source link

Periodogram not working #88

Closed a-paxton closed 3 years ago

a-paxton commented 3 years ago

Hi, there! As part of my review for your JOSS submission, I've been running through your documentation. I'm testing your package from a clean conda env using the conda-forge installation instructions. When I tried to generate the periodogram plot using the code from your example gallery, I ran into an issue:

>>> trj = traja.generate()
>>> trj.traja.plot_periodogram('x')
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-58-5ae01ca132cc> in <module>
      1 trj = traja.generate()
----> 2 trj.traja.plot_periodogram('x')

AttributeError: 'TrajaAccessor' object has no attribute 'plot_periodogram'

Thanks again for your package!

JustinShenk commented 3 years ago

Fixed with #91