Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

StatsPlots appearance #281

Open
rikhuijzer opened this issue Mar 27, 2021 · 4 comments
Open

StatsPlots appearance #281

rikhuijzer opened this issue Mar 27, 2021 · 4 comments

Comments

@rikhuijzer
Copy link
Contributor

The StatsPlots.plot formatting contains mistakes when creating plots via Documenter and Franklin. For example,

image

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 #246, specifically, for many parameters. One example of how that looks is available at the varying intercepts Reedfrogs model:

image

@mkborregaard

@devmotion
Copy link
Member

Is it better (or worse) if the output format is changed to png?

@rikhuijzer
Copy link
Contributor Author

Good question. I'm away from my desk for a few days. I will come back to this issue afterwards and answer your question.

@rikhuijzer
Copy link
Contributor Author

Is it better (or worse) if the output format is changed to png?

This is the TuringModels basic example as PNG:

image

and as SVG (screenshot):

image

So, I don't think that the output format makes much difference.

@rikhuijzer
Copy link
Contributor Author

According to discourse, the second issue can be solved by using the Plotly backend

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants