circumvent warnings
This commit is contained in:
parent
9cf246a03e
commit
bc7f6a6fac
@ -241,10 +241,8 @@ end
|
||||
|
||||
const CURRENT_BACKEND = CurrentBackend(:none)
|
||||
|
||||
function __init__()
|
||||
# for compatibility with Requires.jl:
|
||||
@init
|
||||
|
||||
# for compatibility with Requires.jl:
|
||||
@init begin
|
||||
if isdefined(Main, :PLOTS_DEFAULTS)
|
||||
for (k,v) in Main.PLOTS_DEFAULTS
|
||||
default(k, v)
|
||||
|
||||
@ -283,6 +283,9 @@ end
|
||||
if Juno.isactive()
|
||||
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)
|
||||
Juno.render(e, nothing)
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user