You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@recipefunctionmytypeplot(mytype::T) where T <:MyType
mytype.x, mytype.y
end
In the type recipe you have there the y-values are discarded, since it expects a single type whose recipe will be called and in your case, that is the standard recipe thats used for e.g. plot([-2, 1, 0, 1, 2])
I would expect the final 2 lines to plot the same thing. Only I get this:
The text was updated successfully, but these errors were encountered: