I have a Photoshop Lab image and I want to create a 2D histogram for (a,b) coordinates, given an L interval. Any idea about how to proceed? For example in Python.