-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Label on rois #600
base: master
Are you sure you want to change the base?
Label on rois #600
Conversation
…o label-on-rois
Ok, I finally found a solution for point 2. I had to rescale the exported coordinates by the zoom_fraction in the json. |
@will-moore I've reached the point where I think it is important for me to get your feedback (I'm not asking for a entire review ; just having a look to see if there is anything obvious I've missed and maybe if the implementation looks correct for you). Here is a summary of what I've done so far
For now, everything should work ONLY with rectangle shapes, including the export PDF. I still need to implement (I hope I don't forget anything)
I'm happy to discuss on anything you think relevant and to take suggestions if you have some. Rémy. |
This seems to be mostly working OK for me. I never saw a problem with shape labels showing up in the main figure: The only bug I've found so far is that the Shape labels aren't getting removed from the Edit ROIs image panel when the dialog is closed and reopened - either with a new panel or with a different panel. E.g. re-opening the same panel can give an effect like this: |
Build is failing with:
The PDF export has a few issues: |
Hi @will-moore, Thanks for your feedback. I think I've corrected most of the bugs you've reported. Did you do something particular to get this ? If you try again now, does it show the same bug ? |
Fixes #457
The text is created at the same time as the other shapes and they are linked together. It means that
This PR is a draft for the moment, because it is not ready yet
add
button, fixing the behavior of the text input...)@will-moore I was wondering if you could help me on point 2 ; I really don't know why shapes don't appear on the corresponding panel. Added to the shape manager, they should be visible. I'm probably missing something but I don't know what. I'll still work on that and keep you posted if I managed to find a solution.
Thanks !