Customize icicle chart width, height

Hi,

Is it possible to specify the width (or height, depending on the orientation) of the columns in the chart? For example in the image below, is it possible to reduce the width of the first column (ie. “Eve”) and increase that of the second (Seth, Cain, Awan, Abel)?

Thanks,
cs

Were you able to do? you can actually pass the height and width, but it soon expands back

I have tried below, but consistently not working

fig = px.icicle(data, path=[px.Constant("all"), 'CategoryX', 'CategoryY'], 
		values='LeafValue', 
		branchvalues="total",
		width=450,
		height=600
		)

Let me know if you have any luck

1 Like