def compute_scale_and_translate(self, range, n):
        start, end = map(self.mapper, range)
        s = (n - 1)/(end - start)
        t = -start * s
        return s, t
Ensure nested validation error detail is rendered correctly.
dataset/ETHPy150Open bokeh/datashader/datashader/core.py/Axis.compute_scale_and_translate--crossover with--dataset/ETHPy150Open tomchristie/django-rest-framework/tests/test_validation.py/TestNestedValidationError.test_nested_validation_error_detail