Bug introduced in 11.0.0. Fixed in 11.1.0.
Why is it that:
Plot[{x^2}, {x, 0, 1}, PlotLegends -> {"a"}]
does fine, but:
funcs={x^2};
Plot[funcs, {x, 0, 1}, PlotLegends -> {"a"}]
makes the legend disappear?
Please note that clearly this is a toy example, so a workaround is not the issue here. I would like to understand what is going on. Is it related to what Plot[] looks for in its first argument? I know that funcs==={x^2}, so that is a list of functions of x, which it should be.
Thanx.

Comments
Post a Comment