Can someone explain why the following doesn’t work?

```
julia> using RecipesBase
julia> struct Pair
x::Vector{Float64}
y::Vector{Float64}
end
julia> struct Pairs
pairs::Vector{Pair}
end
julia> @recipe function plot(pair::Pair)
pair.x, pair.y
end
julia> @recipe plot(pairs::Pairs) = pairs.pairs
julia> N = 10
10
julia> pvec = [Pair(rand(N), rand(N)) for m = 1:15];
julia> pairs = Pairs(pvec);
julia> using Plots
julia> plot(pairs.pairs[1])
```

```
julia> plot(pairs)
ERROR: Cannot convert Pair to series data for plotting
```