Skip to content

Blurry labels when using LaTeXStrings and saving the plot #5208

@schillic

Description

@schillic

Details

pkg> st
  [b964fa9f] LaTeXStrings v1.4.0
  [91a5bcdd] Plots v1.41.3

julia> using Plots, LaTeXStrings

julia> plot(tickfont=font(30, "Times"), xtick=([0.3, 0.5, 0.7], [L"0.3", L"0.5", L"0.7"]))

julia> savefig("1.png")
Image

The problem did not occur on the latest 1.40 release (v1.40.20). I noticed that the savefig command closes the plot window in the old version and does not anymore in the new version - maybe that is related.

Backends

This bug occurs on ( insert x below )

Backend yes no untested
gr (default) x
unicodeplots x
pythonplot x
pgfplotsx x
plotlyjs x
plotly x
gaston x

Versions

Plots.jl version: 1.41.3
Backend version (]st -m <backend(s)>): GR v0.73.19
Output of versioninfo():

Julia Version 1.12.3
Commit 966d0af0fdf (2025-12-15 11:20 UTC)
Build Info:
  Official https://julialang.org release
Platform Info:
  OS: Linux (x86_64-linux-gnu)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions