MNT: made changes suggested by Caswell in pull request
moved module functions to class functions
changed the name of the reload_image module to update_color_limits()