Setting the upper and lower reference values for the color scale beyond those of the data

Thanks for all prior answers on this forum, whether to my own or others it has always enabled swift decision making when hitting into dead-ends. When using a color continuous scale, can we also set the upper and lower reference values for the color scale with values beyond the range manifested in the data?

I am asking this in the context of px.imshow, but also its non-express equivalent.

This is obviously useful when two plots have some data correspondence but one has a more constrained range of values than the other ― this would make them consistent with each other regarding the color scale.

I’ve looked at Scale colormap such that center is always zero, which runs close but assumes a manual definition of the color scale, whereas I’d like to be setting the min and max values for also existing scales like Viridis. Perhaps there’s a feature for that?

Thanks and kind regards!

Okay I guess that’s just zmin and zmax. Sorry .