I create the plot I need in julia, but upon saving with savefig
, the vspan
fill is printed as black, although it is specified as very light red.
This is what is show in my notebook and I am savign
but when I save it as pdf
, the red blocks become black imposing over the index I want to track
Surprisingly, this does not happened when I savefig
as png
, but I would prefer pdf
for the manuscript I am writing.
Thanks for tips how to fix this!
The issue is that in pdf, the borders of the vspans are printed quite thick and black while slim in png. I lazily plotted each vspan of width 1 x-axis-tick, so that is what we see. When I specify correctly the vspan intervals [start, end] it is clear
Current setup julia
to 1.8.5
and the libraries.
[7073ff75] IJulia v1.24.0
ā [91a5bcdd] Plots v1.6.12
and works correctly straight out of box of course.