csteinmetz1 / auraloss

Collection of audio-focused loss functions in PyTorch
Apache License 2.0
695 stars 66 forks source link

Import plotting conditionally #29

Closed leoauri closed 2 years ago

leoauri commented 2 years ago

Hi, so that this can be used in environments where matplotlib cannot be imported, I suggest importing from .plotting conditionally.

csteinmetz1 commented 2 years ago

Thanks for this PR!