def set_data(self, data_np, metadata=None, astype=None):
        if astype:
            data = data_np.astype(astype)
        else:
            data = data_np
        self._data = data

        if metadata:
            self.update_metadata(metadata)

        self._set_minmax()

        self.make_callback('modified')
HTML checkboxes do not send any value, but should be treated
dataset/ETHPy150Open ejeschke/ginga/ginga/BaseImage.py/BaseImage.set_data--crossover with--dataset/ETHPy150Open tomchristie/django-rest-framework/tests/test_fields.py/TestBooleanHTMLInput.test_empty_html_checkbox_not_required