Comments (5)
I found the issue and posting here in case folks have similar troubles.
It seems that in the latest matplotlib things have changed around the "NavigationToolbar". as a result MatPlotLib could not be loaded. to fix I changed the code in "mat_data_plot.py" from "NavigationToolbar2QTAgg" to "NavigationToolbar2QT". and it works fine now.
from ros-install-osx.
Looks like the code should have accounted for that:
Can you describe more about the issue you encountered, in case someone else hits it?
from ros-install-osx.
That change went in here: https://github.com/ros-visualization/rqt_common_plugins/blob/master/rqt_plot/src/rqt_plot/data_plot/mat_data_plot.py#L82-L85
@dirk-thomas Perhaps the check should be reversed, so we try the new name first? I'm suspecting that we're pulling in a compatibility API or something.
from ros-install-osx.
The current code already catches the import error and should have fallen back to the suggested import. Therefore I don't see any reason to change the current code.
@robert-preissl If you could provide more information about which version of matplotlib
you are using as well as the exact code of rqt_plot
that might help identifying why it failed for you.
from ros-install-osx.
My argument is that NavigationToolbar2QTAgg
and NavigationToolbar2QT
are not exactly aliased to each otherβ one is a subclass. So it might be better behaviour to just import NavigationToolbar2QT
without the fallback. See the changelog for 1.5.x: http://matplotlib.org/api/api_changes.html#remove-navigationtoolbar2qtagg
@robert-preissl Which version of matplotlib have you got on your system? Can you give us the first few lines of pip show matplotlib
for you? I'm on 1.5.1 here.
from ros-install-osx.
Related Issues (20)
- Script reinstalls workspace HOT 2
- Catkin command not found HOT 4
- error: use of undeclared identifier 'logXXX' HOT 1
- Setting up Xcode for ROS
- Mojave Melodic Installation HOT 6
- Mojave install error on step: catkin config --install ...
- Build fails because of yaml-cpp versioning issue with image_common package HOT 1
- ROS installation on Mojave seems to be stuck at tapping from ros/deps, Invalid Formula.. HOT 3
- How could I remove all building files?
- ERROR: the following packages/stacks could not have their rosdep keys resolved to system dependencies: HOT 1
- rosinstall-generator requires rosdistro >=0.7.3 but has rosdistro 0.7.1
- PSA: Use Boost version between 1.61 and 1.68, ROS breaks when updating brew now HOT 1
- Questions
- PyQt5 creating problem with python2 HOT 3
- Issuing installing roslisp during OS X install
- Python@2 was deprecated in homebrew
- homebrew: command [brew install gazebo8] failed HOT 3
- Can't Get Past homebrew/cask for Install HOT 1
- Error: caskroom/cask was moved. Tap homebrew/cask-cask instead
- tap error!
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ros-install-osx.