Skip to content

Conversation

@bene42
Copy link

@bene42 bene42 commented Sep 11, 2024

Trying DPScope on a Debian Bookworm system does not work out.
Massage the Source to work again on that system.

Regards
Benedikt Spranger

bene42 added 3 commits June 18, 2024 14:24
Signed-off-by: Benedikt Spranger <[email protected]>
Signed-off-by: Benedikt Spranger <[email protected]>
Signed-off-by: Benedikt Spranger <[email protected]>
Copy link
Owner

@pepijndevos pepijndevos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the PR. This project isn't very maintained or complete, but I'll take it :)

from matplotlib.backends.backend_tkagg import NavigationToolbar2TkAgg
except ImportError:
from matplotlib.backends.backend_tkagg import NavigationToolbar2Tk as NavigationToolbar2TkAgg
from matplotlib.backends.backend_tkagg import FigureCanvasTkAgg
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd just unconditionally import the new class instead of the deprecated one

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