Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix deprecated module and attribute errors in visualization and plot utils #17

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Gaochengzhi
Copy link

Replace the deprecated scipy.ndimage.imread module with matplotlib.pyplot.imread in visualization/visualize_frame.py to fix the AttributeError

Also, update the utils/plot_utils.py file by replacing the attribute error caused by the DiscreteSlider object with self._observers.process('changed', discrete_val)

These changes have been tested on macOS 12.6 with matplotlib version 3.6.2.

…utils

Replace the deprecated scipy.ndimage.imread module with matplotlib.pyplot.imread
in ```visualization/visualize_frame.py` to fix the AttributeError
Also, update the utils/plot_utils.py file by replacing the attribute error
caused by the DiscreteSlider object with self._observers.process('changed', discrete_val).

These changes have been tested on macOS 12.6 with matplotlib version 3.6.2.
@AA1HSHH
Copy link

AA1HSHH commented Jan 25, 2024

thanks 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants