ortk95 / planetmapper

PlanetMapper: An open source Python package for visualising, navigating and mapping Solar System observations
https://planetmapper.readthedocs.io
MIT License
10 stars 1 forks source link

Automatically update matplotlib transform involving `xy` coordinates when any disc parameters are changed #390

Closed ortk95 closed 3 weeks ago

ortk95 commented 3 weeks ago

Previously, the matplotlib transforms involving xy coordinates could end using old values if disc parameters were changed without also calling update_transform. Now, the transforms are automatically updated whenever any disc parameters are changed, ensuring that the transforms should always be consistent with the current disc parameters.

Also updated the documentation about the mutable nature of the transforms, and how to use their transform.frozen() method to freeze the transform if needed.

Closes #389

Pull request checklist

See CONTRIBUTING.md for more details.

coveralls commented 3 weeks ago

Pull Request Test Coverage Report for Build 10422301539

Details


Totals Coverage Status
Change from base Build 10268963205: 0.0%
Covered Lines: 3138
Relevant Lines: 3150

💛 - Coveralls