kivy_matplotlib_widget icon indicating copy to clipboard operation
kivy_matplotlib_widget copied to clipboard

Faster rendering

Open GvozdevLeonid opened this issue 6 months ago • 4 comments

Do you think it's worth adding a crop factor?

We can reduce the matplotlib rendering texture, which should increase rendering speed at the expense of quality. The developer can choose the required quality reduction. It is advisable to reduce the dpi by the same crop factor. I did a little testing and in my example increased the fps by two times from 5 to 10 with crop factor 2. I have two graphs updating simultaneously 60 times per second. Unfortunately, I can't attach the modified code due to incomplete implementation. I do not use the hover effect and various other functions that use position or size.

GvozdevLeonid avatar Aug 05 '24 02:08 GvozdevLeonid