Skip to content

Commit

Permalink
bypass svg for :inspectdr
Browse files Browse the repository at this point in the history
  • Loading branch information
t-bltg committed Jul 11, 2021
1 parent 513bfc1 commit e95d7c5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/PlotDocs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ function generate_markdown(pkgname::Symbol; skip = get(Plots._backend_skips, pkg
```@example $pkgname
Plots.reset_defaults() # hide
""")
if pkgname == :unicodeplots
if pkgname (:unicodeplots, :inspectdr)
write(md, """
using Logging # hide
Logging.disable_logging(Logging.Warn) # hide
Expand All @@ -99,11 +99,11 @@ function generate_markdown(pkgname::Symbol; skip = get(Plots._backend_skips, pkg
if i in (2, 31)
write(md, "gif(anim, \"anim_$(pkgname)_ex$i.gif\") # hide\n")
end
if pkgname (:plotly, :plotlyjs)
if pkgname (:plotly, :plotlyjs, :inspectdr)
write(md, "png(\"$(pkgname)_ex$i\") # hide\n")
end
write(md, "```\n")
if pkgname (:plotly, :plotlyjs)
if pkgname (:plotly, :plotlyjs, :inspectdr)
write(md, "![]($(pkgname)_ex$i.png)\n")
end
end
Expand Down

0 comments on commit e95d7c5

Please sign in to comment.