gpilab / core-nodes

The core nodes are a collection of basic data manipulation and visualization algorithms.
http://docs.gpilab.com/en/develop/NodeDev/devguide.html
BSD 3-Clause "New" or "Revised" License
12 stars 6 forks source link

Matplotlib node compatibility issues #11

Closed borupdaniel closed 5 years ago

borupdaniel commented 5 years ago

The matplotlib node is experiencing a few issues related to newer versions of Matplotlib. The issues I've noted so far:

aganders3 commented 5 years ago

While packaging I'm noticing that for some reason there is no Linux build of matplotlib 2 that is compatible with pyqt4. The newest it will let me install it seems is 1.5. Do you think the changes you've made here compatible with 1.5? If so I will add a preprocessor step to change the matplotlib versions to >=1.5,<2 for linux and keep >=2.1,<3 for mac.

borupdaniel commented 5 years ago

I think that should be fine — both fixes use a try-catch so that if the deprecated functions are available, they'll execute normally.