MCMCChains.jl
MCMCChains.jl copied to clipboard
StatsPlots appearance
The StatsPlots.plot
formatting contains mistakes when creating plots via Documenter and Franklin. For example,
- the Basic Example at TuringModels crops the x and y-axes. Also, the spacing between the horizontal axis label and the title is too small and
- the same occurs in the documentation of MCMCChains.jl:
For both automated builds, the default Plots backend is used in combination with the env variable
GKSwstype: nul
Without this, the appearance is usually worse and errors such as "GKS: can't connect to GKS socket application' errors" are thrown.
Visual improvements are also mentioned at https://github.com/TuringLang/MCMCChains.jl/issues/246, specifically, for many parameters. One example of how that looks is available at the varying intercepts Reedfrogs model:
@mkborregaard
Is it better (or worse) if the output format is changed to png?
Good question. I'm away from my desk for a few days. I will come back to this issue afterwards and answer your question.
Is it better (or worse) if the output format is changed to png?
This is the TuringModels basic example as PNG:
and as SVG (screenshot):
So, I don't think that the output format makes much difference.
According to discourse, the second issue can be solved by using the Plotly backend