using DataFrames, CSV, PlotlyJS, BenchmarkTools
include("quiver.jl")
function get_quiver_plot(df)
X = vcat(df[!, :x], df[!, :x])
Y = vcat(df[!, :y], df[!, :y])
U = vcat(df[!, :u], map(x->-1*x, df[!, :u]))
V = vcat(df[!, :v], map(x->-1*x, df[!, :v]));
q=Quiver(x=X, y=Y, u=U, v=V, vector_scale=0.01, arrow_scale=0.001, angle=pi/18)
fig = quiverPlot(q;)
update!(fig, line_width=0.75, [1],
layout=Layout(width=700, height=500))
return(fig)
end
df = CSV.read("quiver.csv", DataFrame);
fig= get_quiver_plot(df);