laszukdawid / PyEMD

Python implementation of Empirical Mode Decompoisition (EMD) method
https://pyemd.readthedocs.io/
Apache License 2.0
867 stars 224 forks source link

Visualisation doesn't work for a single imf #35

Closed laszukdawid closed 5 years ago

laszukdawid commented 5 years ago

fig, axes = plt.subplots(n)

For n=1 the axes is an instance and for anything else it is a list. Need to fix this.