karlwessel / mplopengl

OpenGL based backend for matplotlib
MIT License
14 stars 5 forks source link

ImportError: cannot import name 'get_paths_extents' from 'matplotlib.path' #15

Closed JakkuSakura closed 3 years ago

JakkuSakura commented 3 years ago

Removing the line in renderergl.py makes it work again.

18: from matplotlib.path import get_paths_extents

matplotlib version is 3.3.2

karlwessel commented 3 years ago

I could have seen this coming (see issue #8).

I guess I can't just remove that line since the method is actually used. It needs to be replaced by get_path_collection_extend.

Thanks for the issue, I'll take a look at it.

karlwessel commented 3 years ago

For now I fixed it by removing support for clip_paths (which weren't implemented correctly anyway).