Skip to content

[FR] Use Preferences.jl to configure default loaded backend #4513

@mkitti

Description

@mkitti

Loading GR by default can cause issues since it loads so many other packages, notably JLLs.

For example, loading QT via GR can result in the PyPlot backend not working:
https://discourse.julialang.org/t/trouble-using-plots-on-linux/90061/32?u=mkitti

To simplify this, let's provide a Preferences.jl mechanism so that users can load their preferred backend by default. This will also help to minimize issues and accelerate plots by not loading unnecessary packages that we are not using.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions