I’m trying to plot confidence bands using PlotlyJS.jl. It’s almost working, except that while the lines all start at x = 50, the confidence bands, for some reason, start at x = 0. This is for instance how I define one of the traces:
trace1 = scatter(;
x = vcat(50:1000, reverse(50:1000)),
y = vcat(df_train.ymax1, reverse(df_train.ymin1)),
fill="tozerox",
fillcolor="rgba(0, 100, 80, .2)",
line_color="transparent",
name = "Actual",
showlegend=false,
mode="none"
);
Does someone know how to avoid this? (If the problem is not clear, please look at the bottom left corner of the plot. The question basically is how to remove the bands that appear between x=0 and x=50. They should start at x=50 [in this plot, they are hardly visible from that point on, but they are there].)