Skip to content

NonUniformImage : conversion to RGB array is now done inside *make_image* method. #710

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

Merged
merged 1 commit into from
Mar 17, 2012

Conversation

leejjoon
Copy link
Contributor

This is to fix #708.
For NonUniformImage, conversion to RGB array have been done during set_data. Therefore, changes in clim of cmap has no effect until you reset the data. This PR moves the relevant code to make_image method.
This fixes the problem as the conversion is done whenever image is drawn.
While this gives you a consistent behavior with a normal AxesImage, it is ineffective as caching is not effectively done.

efiring added a commit that referenced this pull request Mar 17, 2012
NonUniformImage : conversion to RGB array is now done inside *make_image* method.
@efiring efiring merged commit a3bbc7b into matplotlib:master Mar 17, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

set_clim not working with NonUniformImage
2 participants