You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@ejeschke , do you know what happened here? This is happening with dev version of Ginga (but not the released version) and I cannot keep track of the massive refactoring that you recently did, so any advice would be greatly appreciated. Thanks!
I think that is due to a very recent change in CanvasObject where a canvas object's coord attribute used to default to 'data' but now defaults to None. But None will assign a data mapper when the object is added to a canvas--so the result is still the same. The reason for change was to allow the user to set a coordinate mapper for the canvas and have objects inherit that if they don't assign their own.
You can also assign coord='data' when creating the Circle, if you prefer, and keep the assert as it was. That is probably preferable, because you are being explicit about what mapping is being used to draw the object when you create it.
@ejeschke , do you know what happened here? This is happening with dev version of Ginga (but not the released version) and I cannot keep track of the massive refactoring that you recently did, so any advice would be greatly appreciated. Thanks!
Example log: https://github.com/astropy/astrowidgets/actions/runs/3391388780/jobs/5636513716
Minimal reproducible code:
astrowidgets/astrowidgets/core.py
Line 224 in 7a8ba86
The text was updated successfully, but these errors were encountered: