ChrisBeaumont / mpl-modest-image

Friendlier matplotlib interaction with large images
Other
15 stars 9 forks source link

Extent #6

Closed ppinard closed 7 years ago

ppinard commented 8 years ago

Allow set_extent to work with ModestImage. The implementation uses matplotlib's transformation to transform coordinates in the extent space to the array space and then back after the rescaling. All tests are passing and a new unit test was added to explicitly test set_extent. Please let me know if other corner cases should be tested.