I had some script with lots of convenience plotting functions for Makie, as well as a bunch of themes I like to use in my work. For reproducibility I decided to make it a Julia package so that it can be added and its git hash is referenced.
Inside my module there is the line:
Unfortunately, when i do using MakieThemeing
,
this line is ignored. I don’t know if it is run or not, but Makie doesn’t register it. It keeps the default theme. I need to do in addition again
set_theme!(DEFAULT_THEME)
after using MakieThemeing
, for the theme setting to work.
Why do I have to do this twice and how can I make it so that it happens automatically on using MakieThemeing
?