kivy-garden / garden.matplotlib

Matplotlib backends using kivy
MIT License
104 stars 50 forks source link

Added weight_as_number method to RenderKivy. #62

Closed xstreck1 closed 6 years ago

xstreck1 commented 6 years ago

This change fixes the incompatibility with matplotlib 3.0.0 where weight_as_number has been removed, causing ImportError.

The function is now part of the source.

The string weights have been mapped to number so as to match those of matplotlib 2.2.2 .

Shudh commented 3 years ago

Hi all,

I was giving this a try with the latest version of matplotlib 3.3.3 and was hit by this.. Looks like there has been no progress since 2018.. built it from source and thankfully only one import of png needed commenting (See screenshot for details) in backend_kivy.py Fixed_Kivy_Matplotlib

Sorry this should go to the issue https://github.com/kivy-garden/garden.matplotlib/issues/58