PolymerGuy / muDIC

Digital Image Correlation in Python
MIT License
160 stars 69 forks source link

Error matplotlib.widget.RectangleSelector with while appling mesh on image stack #47

Open zseremo opened 6 months ago

zseremo commented 6 months ago

Hi! This toolkit looks amazing!

I have seen that simmilar issues have already been reported, but to support the quicker solvation of the problem I make a new issue. I have tried to go through the quick start guide which is super nice to have, I have encountered the following error message, which is in my knowledge is due to that the used matplotlib.widget.RectangleSelector has changed and thats why it displays a problem. Could it be the problem? If yes, would you please solve thees problems?

Kind regards!

PS1
Skaraa commented 4 months ago

I have found a way to make it work. I explained it there :

https://github.com/PolymerGuy/muDIC/issues/43#issuecomment-2241056397

MatSymTool commented 4 months ago

I have found a way to make it work. I explained it there :

#43 (comment)

An easier solution to that is to just remove the 'drawtype='box'' argument from meshUtilities.py. That way you don't run into danger of breaking any other scripts that use RectangleSelector