Raddar/spider image

Hello
I am developing a package for metaheuristics algorithms named
MetaheuristicsAlgorithms
I wanna make a raddar image I write the following

    trace = scatterpolar(
        r = mean_fitness,
        theta = labels,
        fill = "toself",
        name = "Mean Fitness"
    )
    layout = Layout(
        polar = attr(radialaxis = attr(visible=true, range=[0, maximum(mean_fitness)*1.1])),
        showlegend = false,
        title = "Radar Plot - $funcname"
    )
    p3 = PlotlyJS.Plot(trace, layout)
    PlotlyJS.savefig(p3, "cec_results/radar_$funcname.png")

    println("Finished $funcname\n")

But I can not save it as png. It works fine as html but not as png. Any ideas for how??
the file is under test folder named testcompare_algorithms.jl
Also, I would be more than happy if you can give me your opinion about the updated package
Thanks