Pgfplotsx with \mathbb

I don’t use Plots.jl but PGFPlotsX.jl directly but I think the preamble should be picked up anyways, try this above the call to plot():

import PGFPlotsX
push!(PGFPlotsX.CUSTOM_PREAMBLE, "\\usepackage{amsfonts}")
2 Likes