Skip to content

Update to run on a Debian Bookworm system#1

Open
bene42 wants to merge 3 commits intopepijndevos:masterfrom
bene42:master
Open

Update to run on a Debian Bookworm system#1
bene42 wants to merge 3 commits intopepijndevos:masterfrom
bene42:master

Conversation

@bene42
Copy link
Copy Markdown

@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 <b.spranger@linutronix.de>
Signed-off-by: Benedikt Spranger <b.spranger@linutronix.de>
Signed-off-by: Benedikt Spranger <b.spranger@linutronix.de>
Copy link
Copy Markdown
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
Copy Markdown
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