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
I'll use the example from README.md to illustrate the issue:
using GraphRecipes
using Plots
g = [011;
101;
110]
graphplot(g,
x=[0,-1/tan(π/3),1/tan(π/3)], y=[1,0,0],
nodeshape=:circle, nodesize=1.1,
axis_buffer=0.6,
curves=false,
color=:black,
nodecolor=[colorant"#389826",colorant"#CB3C33",colorant"#9558B2"],
linewidth=10)
This no longer produces the expected red, green and purple nodes. Instead, it plots three green nodes and prints the following warnings:
┌ Warning: Indices Base.OneTo(3) of attribute `fillcolor` does not match data indices 1:242.
└ @ Plots ~/.julia/packages/Plots/SVksJ/src/utils.jl:102
┌ Info: Data contains NaNs or missing values, and indices of `fillcolor` vector do not match data indices.
│ If you intend elements of `fillcolor` to apply to individual NaN-separated segements in the data,
│ pass each segment in a separate vector instead, and use a row vector for `fillcolor`. Legend entries
│ may be suppressed by passing an empty label.
│ For example,
└ plot([1:2,1:3], [[4,5],[3,4,5]], label=["y" ""], fillcolor=[1 2])
┌ Warning: Indices Base.OneTo(3) of attribute `markercolor` does not match data indices 1:242.
└ @ Plots ~/.julia/packages/Plots/SVksJ/src/utils.jl:102
┌ Info: Data contains NaNs or missing values, and indices of `markercolor` vector do not match data indices.
│ If you intend elements of `markercolor` to apply to individual NaN-separated segements in the data,
│ pass each segment in a separate vector instead, and use a row vector for `markercolor`. Legend entries
│ may be suppressed by passing an empty label.
│ For example,
└ plot([1:2,1:3], [[4,5],[3,4,5]], label=["y" ""], markercolor=[1 2])
Tested with Julia 1.6 and Plots.jl backends GR and PyPlot.
The text was updated successfully, but these errors were encountered:
I'll use the example from
README.md
to illustrate the issue:This no longer produces the expected red, green and purple nodes. Instead, it plots three green nodes and prints the following warnings:
Tested with Julia 1.6 and Plots.jl backends GR and PyPlot.
The text was updated successfully, but these errors were encountered: