mdogan
February 28, 2023, 6:28pm
1
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.
gdalle
February 28, 2023, 11:37pm
2
Try something like plot(...; margin=10Plots.mm)
?
mdogan
March 1, 2023, 9:49pm
3
gdalle:
; 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.
mdogan
March 1, 2023, 10:11pm
4
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)