circumvent warnings
This commit is contained in:
parent
9cf246a03e
commit
bc7f6a6fac
@ -241,10 +241,8 @@ end
|
|||||||
|
|
||||||
const CURRENT_BACKEND = CurrentBackend(:none)
|
const CURRENT_BACKEND = CurrentBackend(:none)
|
||||||
|
|
||||||
function __init__()
|
# for compatibility with Requires.jl:
|
||||||
# for compatibility with Requires.jl:
|
@init begin
|
||||||
@init
|
|
||||||
|
|
||||||
if isdefined(Main, :PLOTS_DEFAULTS)
|
if isdefined(Main, :PLOTS_DEFAULTS)
|
||||||
for (k,v) in Main.PLOTS_DEFAULTS
|
for (k,v) in Main.PLOTS_DEFAULTS
|
||||||
default(k, v)
|
default(k, v)
|
||||||
|
|||||||
@ -283,6 +283,9 @@ end
|
|||||||
if Juno.isactive()
|
if Juno.isactive()
|
||||||
Media.media(Plot, Media.Plot)
|
Media.media(Plot, Media.Plot)
|
||||||
|
|
||||||
|
|
||||||
|
_show{B}(io::IO, m::MIME"text/plain", plt::Plot{B}) = show(io, m, plt)
|
||||||
|
|
||||||
function Juno.render(e::Juno.Editor, plt::Plot)
|
function Juno.render(e::Juno.Editor, plt::Plot)
|
||||||
Juno.render(e, nothing)
|
Juno.render(e, nothing)
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user