I tried to plot(table(...)) of a data formatted in dataframe, I want to format the number so that only show one decimal place. according to this doc https://plotly.com/julia/reference/table/#table-cells-format, I expected that this code would do. is there something I missed?
v = ["DJI", 2456.3066, 450.334, 2.788, 999.999]
h = ["Ticker","1d","5d mean","10d mean","20d mean"]
plot(
table(
header=attr(
values=h,
fill_collor="paleturquoise",
align="center"
),
cells=attr(
values=v,
fill_color="lavender",
align="right",
format="%{value:.1f}"
)
)
)