mgeier / python-audio

Some Jupyter notebooks about audio signal processing with Python
https://nbviewer.jupyter.org/github/mgeier/python-audio/
Creative Commons Zero v1.0 Universal
183 stars 47 forks source link

minor bug in add_colorbar #2

Closed lebedov closed 7 years ago

lebedov commented 7 years ago

Small fix for the very useful add_colorbar() function in matplotlib-colorbar.ipynb; the aspect parameter should be cast to a float so 1/aspect doesn't evaluate to 0.

mgeier commented 7 years ago

Thanks for reporting this! I've created #3, can you please check if this works for you?

lebedov commented 7 years ago

Yes. Thanks!