Change displayed channel in viewport through Python API
What I'm suggesting:
The ability to switch the viewport to display the base color channel (or any other channel, really) through the Python API.
Some context:
I'm creating a simple plugin that automates my most common actions. For one of these actions, I am checking the greyscale values of my base color to see that they fall within a certain range. Using Python, I am adding a fill layer that desaturates the base color using an HSL Perceptive filter. I then switch the viewport to the base color channel manually to check the values. This doesn't take a lot of time at all, but it would be a nice QOL change for me to be able to automate this.
Cheers!
