Skip to content

Commit

Permalink
be more conservative in case of future changes to setup.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
cscheid committed Nov 12, 2023
1 parent 8aeb1aa commit 9645ae8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/resources/jupyter/lang/julia/setup.jl
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,10 @@ try
# instead of saving to the ipynb file, so we don't do that.
# https://github.com/quarto-dev/quarto-cli/issues/7548
if fig_format == :pdf
fig_format = :png
CairoMakie.activate!(type = "png")
else
CairoMakie.activate!(type = string(fig_format))
end
CairoMakie.activate!(type = string(fig_format))
CairoMakie.update_theme!(resolution=(fig_width, fig_height))
catch e
# @warn "CairoMakie init" exception=(e, catch_backtrace())
Expand Down

1 comment on commit 9645ae8

@jjallaire
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect!

Please sign in to comment.