Skip to content

Commit e20854b

Browse files
authored
Apply edits from code review
1 parent 9acc534 commit e20854b

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

docs/src/manipulating_plots.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,8 @@ More examples are being worked on at this time (2021-07-14), but for now you can
141141
Figures can be saved in a variety of formats using the [`savefig`](@ref) function.
142142

143143
!!! note
144-
Note that the docs below are shown for the `PlotlyBase.Plot` type, but are also defined for `PlotlyJS.SyncPlot`.
145-
Thus, you can use these methods after calling either `plot` or `Plot`.
144+
Note that the docs below are shown for the `PlotlyBase.Plot` type, but are also defined for `PlotlyJS.SyncPlot`.
145+
Thus, you can use these methods after calling either `plot` or `Plot`.
146146

147147
The `savefig` function can be called in a few ways:
148148

@@ -177,13 +177,13 @@ Internally, this `Base.show` implementation calls `savefig(io, p)`,
177177
and the `MIME` argument allows to specify the output format.
178178

179179
The following MIME formats are supported:
180-
* `::MIME"application/pdf`
181-
* `::MIME"image/png`
182-
* `::MIME"image/svg+xml`
183-
* `::MIME"image/eps`
184-
* `::MIME"image/jpeg`
185-
* `::MIME"application/json"`
186-
* `::MIME"application/json; charset=UTF-8"`
180+
* `::MIME"application/pdf`
181+
* `::MIME"image/png`
182+
* `::MIME"image/svg+xml`
183+
* `::MIME"image/eps`
184+
* `::MIME"image/jpeg`
185+
* `::MIME"application/json"`
186+
* `::MIME"application/json; charset=UTF-8"`
187187

188188
```@docs
189189
savefig

src/display.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ end
2323
Base.show(io::IO, mm::MIME"application/prs.juno.plotpane+html", p::SyncPlot) = show(io, mm, p.scope)
2424

2525
# using @eval instead of Union{} to avoid ambiguity with other methods
26-
for mime in [MIME"text/plain", MIME"application/vnd.plotly.v1+json", MIME"application/prs.juno.plotpane+html"]
26+
for mime in [MIME"text/plain", MIME"application/vnd.plotly.v1+json", MIME"juliavscode/html"]
2727
@eval Base.show(io::IO, mm::$mime, p::SyncPlot, args...; kwargs...) = show(io, mm, p.plot, args...; kwargs...)
2828
end
2929

0 commit comments

Comments
 (0)