Skip to content
Discussion options

You must be logged in to vote

This traceback matches a Matplotlib 3.11 compatibility break. OMNeT++ 6.4.0 accesses self.mode._navigate_mode, which exists in Matplotlib 3.10.9 but was removed in 3.11.0.

Temporarily add this to the chart script to check the interpreter and version actually used by the IDE:

import sys
import matplotlib
print(sys.executable)
print(matplotlib.__version__)

If it reports 3.11.x, try Matplotlib 3.10.9 in that environment. Close the IDE, then run this from your OMNeT++ 6.4.0 root directory:

source setenv
python3 -c "import sys; print(sys.executable)"

Check that the interpreter matches the chart's output. If it does:

python3 -m pip install "matplotlib==3.10.9"
omnetpp

Then reopen the chart and …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@rhornig
Comment options

Answer selected by carlosmn25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants