Skip to content

Commit

Permalink
Fix warning for failed integration with PlotlyBase & PlotlyKaleide
Browse files Browse the repository at this point in the history
  • Loading branch information
blegat committed Dec 1, 2023
1 parent 7cd27c4 commit 3ab98ce
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/backends.jl
Original file line number Diff line number Diff line change
Expand Up @@ -592,9 +592,12 @@ function _initialize_backend(pkg::PlotlyBackend)
_post_imports(pkg)
_runtime_init(pkg)
catch err
err isa ArgumentError ||
if err isa ArgumentError
@warn "Failed to load integration with PlotlyBase & PlotlyKaleide." exception =
(err, catch_backtrace())
else
rethrow(err)
end
# NOTE: `plotly` is special in the way that it does not require dependencies for displaying a plot
# as a result, we cannot rely on the `@require` mechanism for loading glue code
# this is why it must be done here.
Expand Down

0 comments on commit 3ab98ce

Please sign in to comment.