Package documentation: the left edge of the plot is missing

I have a strange issue with package documentation. The left edge of the plots and x titles are missing. these plots are generated directly by code within the @example block.

Note: I’m opening it on Microsoft Edge. Opened on different PCs and mobile - all the same.

Tutorials · PortfolioAnalytics.jl (doganmehmet.github.io)

If I open the same documentation via the Juliahub, it is fine.

Tutorials · PortfolioAnalytics.jl (juliahub.com)

Not sure if this can be solved? I’d appreciate any suggestions.

Try something like plot(...; margin=10Plots.mm)?

thanks very much for the advice. Unfortunately, it did not work.

plt = Plots.plot(plt_objective, decision_space; layout = (2, 1); margin=10Plots.mm) # hide

The function gives an error when margin=10Plots.mm is added.

I found the issue. Added the below line to the documentation.yml file.

GKSwstype: "100"

Syntax · Documenter.jl (juliadocs.org)

Everything is fine now.
Functions · PortfolioAnalytics.jl (doganmehmet.github.io)