Closed
Description
This does not work:
iw = fpl.ImageWidget(data=[data_raw, data_reg, mean_sub], names=["Raw", "Registered", "Reg, Mean-Sub"])
iw.show()
...
158 if subplot_names.size != n_subplots:
--> 159 raise ValueError(
160 f"must provide same number of subplot `names` as specified by shape, extents, or rects: {n_subplots}"
ValueError: must provide same number of subplot `names` as specified by shape, extents, or rects: 4
This is fixed by specifying figure shape:
iw = fpl.ImageWidget(data=[data_raw, data_reg, mean_sub], names=["Raw", "Registered", "Reg, Mean-Sub"], figure_shape=(1, 3))
iw.show()
This is confusing and took me a while to figure out
Metadata
Metadata
Assignees
Labels
No labels