Some plot properties ignored when used as traces/subplots

Hi @matan3,

there is a major difference between the two approaches:

  • px.imshow() returns a figure object
  • make_subplots() expects trace objects to add to the figure object

You said it yourself:

Here you are extracting the first trace of the px.imshow() figure object.

You can do this, but remember that you are adding only the data (trace) to your figure object. Some of the layout of the individual figure object created by px.imshow() gets lost because it is stored in px.imshow()['layout']

In a nutshell: you will have to style your figure object (the one from make_subplots()) once you added all traces.

Please provide a MRE if you need further help.