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!