org-arl / arlpy

ARL Python Tools
BSD 3-Clause "New" or "Revised" License
119 stars 37 forks source link

Fixes org-arl/arlpy#84 #85

Closed patel999jay closed 1 year ago

patel999jay commented 1 year ago

I had tested this with newer python version python=3.11 and it looks like the issue has been resolved with these changes.

This PR updates the arlpy library to ensure compatibility with Bokeh version 3.1.1 and the latest version of Scipy version 1.10.1. The changes include:

Replaced plot_width with width and plot_height with height in all instances where Bokeh figures are created or modified. This change was necessary due to updates in the Bokeh API between version 2.x.x and 3.1.1. In the newer version, the plot_width and plot_height attributes have been replaced with width and height respectively.

Updated the default window name in the psd function from 'hanning' to 'hann'. This change was necessary due to updates in the Scipy library, as described in the Scipy documentation.

Fixes #84 .