alsauve / scaleogram

Scaleogram plot for Continuous Wavelet Transform made easy
MIT License
112 stars 32 forks source link

Fix TypeError on COI default alpha value #4

Closed dnowacki-usgs closed 3 years ago

dnowacki-usgs commented 4 years ago

The default alpha value for the cone of influence is a string, '0.5'. This causes the error:

TypeError: alpha must be a float or None

This tiny fix changes the default from string to float and fixes the error.

TobiasJacob commented 4 years ago

+1

alsauve commented 3 years ago

The pull request has been merged with the master branches and closes issue #4 .

Thanks Dan for the code, please note that pip repository will be updated after some minor other fixes.