using StatsBase, KernelDensity, Colors, LinearAlgebra
using Random
using CairoMakie, ColorSchemes
include("makieTheme6.jl")
Random.seed!(13)
b = randn(1000)
a = fill(1, length(b))
fig = Figure(resolution = (600, 400), font = "sans")
ax2 = Axis(fig, xlabel = "variable", ylabel = "values", xticks = ([1],["normal Distribution"]) )
violin!(a, b; width = 0.35, color = (:yellow, 0.45),
strokecolor =:black, show_median = true, mediancolor = :black)
limits!(ax2,0,2,-5,5)
fig[1,1] = ax2
#save("./results/FigViolin.png", fig, px_per_unit = 2)
fig