kitzeslab / opensoundscape

Open source, scalable software for the analysis of bioacoustic recordings
http://opensoundscape.org
MIT License
134 stars 14 forks source link

DeprecationWarning when using Spectrogram.plot() #1043

Open louisfh opened 2 weeks ago

louisfh commented 2 weeks ago
[/opt/anaconda3/envs/poetry_py310/lib/python3.10/site-packages/matplotlib_inline/config.py:68](https://file+.vscode-resource.vscode-cdn.net/opt/anaconda3/envs/poetry_py310/lib/python3.10/site-packages/matplotlib_inline/config.py:68): DeprecationWarning: InlineBackend._figure_format_changed is deprecated in traitlets 4.1: use @observe and @unobserve instead.
  def _figure_format_changed(self, name, old, new):

This DeprecationWarning is raised when plotting a Spectrogram in jupyter notebook. Package versions are all those in the current poetry lock file in develop. Version of matplotlib is 3.9.2

sammlapp commented 2 weeks ago

InlineBackend._figure_format_changed is deprecated in traitlets 4.1

this is due to some underlying package's use of traitlets, do you know which or if there's a package update that would resolve it?