mp-007 / kivy_matplotlib_widget

A fast matplotlib rendering for Kivy based on Kivy_matplotlib project and kivy scatter. Matplotlib used 'agg' backend
MIT License
35 stars 7 forks source link

weakproxy error #21

Closed Sahil-pixel closed 4 months ago

Sahil-pixel commented 4 months ago

File "kivy/weakproxy.pyx", line 32, in kivy.weakproxy.WeakProxy.getattr AttributeError: 'MatplotFigure' object has no attribute 'main_home'

mp-007 commented 4 months ago

main_home is not a function from MatplotFigure. It's only use for MatplotFigureSubplot because this widget can handle multiple axes. I don't know your purpose but if you can give me a working example, I will be able to understand your issue.

mp-007 commented 4 months ago

@Sahil-pixel

Found this error in my min/max example (https://github.com/mp-007/kivy_matplotlib_widget/tree/main/examples/example_minmax_option). I've made a fix in this commit 2d1476ac83911e2195aa8f1cd87e8e27fb121bf8

Sahil-pixel commented 4 months ago

Great.👍