Enhance savefig() #134
Annotations
4 errors, 2 warnings, and 1 notice
docdeploy:
../../../.julia/packages/Documenter/Bs999/src/utilities/utilities.jl#L44
failed to run `@example` block in src/examples/finance.md:18-32
```@example finance
function ohlc2()
function get_ohlc(ticker; kwargs...)
res = HTTP.get("https://www.quandl.com/api/v3/datasets/WIKI/$(ticker)/data.csv?start_date=2017-01-01")
df = DataFrame(CSV.File(res.body))
ohlc(df, x=:Date, open=:Open, high=:High, low=:Low, close=:Close; kwargs...)
end
p1 = plot(get_ohlc("AAPL", name="Apple"), Layout(title="Apple"))
p2 = plot(get_ohlc("GOOG", name="Google"), Layout(title="Google"))
[p1 p2]
end
ohlc2()
```
exception =
HTTP.Exceptions.StatusError(403, "GET", "/api/v3/datasets/WIKI/AAPL/data.csv?start_date=2017-01-01", HTTP.Messages.Response:
"""
HTTP/1.1 403 Forbidden
Content-Type: text/html
Cache-Control: no-cache, no-store
Connection: close
Content-Length: 871
X-Iinfo: 60-417890595-0 0NNN RT(1734043006890 3) q(0 -1 -1 -1) r(0 -1) B15(11,3946292,0) U18
Strict-Transport-Security: max-age=31536000; includeSubDomains
Set-Cookie: ******
Set-Cookie: ******
<html style="height:100%"><head><META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW"><meta name="format-detection" content="telephone=no"><meta name="viewport" content="initial-scale=1.0"><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"><script type="text/javascript" src="/_Incapsula_Resource?SWJIYLWA=719d34d31c8e3a6e6fffd425f7e032f3"></script></head><body style="margin:0px;height:100%"><iframe id="main-iframe" src="/_Incapsula_Resource?CWUDNSAI=23&xinfo=60-417890595-0%200NNN%20RT%281734043006890%203%29%20q%280%20-1%20-1%20-1%29%20r%280%20-1%29%20B15%2811%2c3946292%2c0%29%20U18&incident_id=1841000261863787835-2168448328385234620&edet=15&cinfo=0b000000&rpinfo=0&mth=GET" frameborder=0 width="100%" height="100%" marginheight="0px" marginwidth="0px">Request unsuccessful. Incapsula incident ID: 1841000261863787835-2168448328385234620</iframe></body></html>""")
Stacktrace:
[1] (::HTTP.ConnectionRequest.var"#connections#4"{HTTP.ConnectionRequest.var"#connections#1#5"{HTTP.TimeoutRequest.var"#timeouts#3"{HTTP.TimeoutRequest.var"#timeouts#1#4"{HTTP.ExceptionRequest.var"#exceptions#2"{HTTP.ExceptionRequest.var"#exceptions#1#3"{typeof(HTTP.StreamRequest.streamlayer)}}}}}})(req::HTTP.Messages.Request; proxy::Nothing, socket_type::Type, socket_type_tls::Nothing, readtimeout::Int64, connect_timeout::Int64, logerrors::Bool, logtag::Nothing, closeimmediately::Bool, kw::@kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64})
@ HTTP.ConnectionRequest ~/.julia/packages/HTTP/WctPa/src/clientlayers/ConnectionRequest.jl:144
[2] connections
@ ~/.julia/packages/HTTP/WctPa/src/clientlayers/ConnectionRequest.jl:60 [inlined]
[3] (::Base.var"#106#108"{Base.var"#106#107#109"{ExponentialBackOff, HTTP.RetryRequest.var"#2#5"{Int64, typeof(HTTP.RetryRequest.FALSE), HTTP.Messages.Request, Base.RefValue{Int64}}, HTTP.ConnectionRequest.var"#connections#4"{HTTP.ConnectionRequest.var"#connections#1#5"{HTTP.TimeoutRequest.var"#timeouts#3"{HTTP.TimeoutRequest.var"#timeouts#1#4"{HTTP.ExceptionRequest.var"#exceptions#2"{HTTP.ExceptionRequest.var"#exceptions#1#3"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}})(args::HTTP.Messages.Request; kwargs::@kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64})
@ Base ./error.jl:312
[4] (::HTTP.RetryRequest.var"#manageretries#3"{HTTP.RetryRequest.var"#manageretries#1#4"{HTTP.ConnectionRequest.var"#connections#4"{HTTP.ConnectionRequest.var"#connections#1#5"{HTTP.TimeoutRequest.var"#timeouts#3"{HTTP.TimeoutRequest.var"#timeouts#1#4"{HTTP.ExceptionRequest.var"#exceptions#2"{HTTP.ExceptionRequest.var"#exceptions#1#3"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}})(req::HTTP.Messages.Request; retry::Bool, retries::Int64, retry_delays::ExponentialBackOff, retry_check::Function, retry_non_idempotent::Bool, kw::@kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64})
@ HTTP.RetryRequest ~/.julia/packages/HTTP/WctPa/src/clientlayers/RetryRequest.jl:75
[5] manageretries
|
docdeploy:
../../../.julia/packages/Documenter/Bs999/src/utilities/utilities.jl#L44
failed to run `@example` block in src/examples/finance.md:45-59
```@example finance
function candlestick2()
function get_candlestick(ticker; kwargs...)
res = HTTP.get("https://www.quandl.com/api/v3/datasets/WIKI/$(ticker)/data.csv?start_date=2017-01-01")
df = DataFrame(CSV.File(res.body))
candlestick(df, x=:Date, open=:Open, high=:High, low=:Low, close=:Close; kwargs...)
end
p1 = plot(get_candlestick("AAPL", name="Apple"), Layout(title="Apple"))
p2 = plot(get_candlestick("GOOG", name="Google"), Layout(title="Google"))
[p1 p2]
end
candlestick2()
```
exception =
HTTP.Exceptions.StatusError(403, "GET", "/api/v3/datasets/WIKI/AAPL/data.csv?start_date=2017-01-01", HTTP.Messages.Response:
"""
HTTP/1.1 403 Forbidden
Content-Type: text/html
Cache-Control: no-cache, no-store
Connection: close
Content-Length: 866
X-Iinfo: 25-11156029-0 0NNN RT(1734043010318 4) q(0 -1 -1 -1) r(0 -1) B15(11,3946292,0) U18
Strict-Transport-Security: max-age=31536000; includeSubDomains
Set-Cookie: ******
Set-Cookie: ******
<html style="height:100%"><head><META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW"><meta name="format-detection" content="telephone=no"><meta name="viewport" content="initial-scale=1.0"><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"><script type="text/javascript" src="/_Incapsula_Resource?SWJIYLWA=719d34d31c8e3a6e6fffd425f7e032f3"></script></head><body style="margin:0px;height:100%"><iframe id="main-iframe" src="/_Incapsula_Resource?CWUDNSAI=23&xinfo=25-11156029-0%200NNN%20RT%281734043010318%204%29%20q%280%20-1%20-1%20-1%29%20r%280%20-1%29%20B15%2811%2c3946292%2c0%29%20U18&incident_id=1841000261863787835-61699773718136473&edet=15&cinfo=0b000000&rpinfo=0&mth=GET" frameborder=0 width="100%" height="100%" marginheight="0px" marginwidth="0px">Request unsuccessful. Incapsula incident ID: 1841000261863787835-61699773718136473</iframe></body></html>""")
Stacktrace:
[1] (::HTTP.ConnectionRequest.var"#connections#4"{HTTP.ConnectionRequest.var"#connections#1#5"{HTTP.TimeoutRequest.var"#timeouts#3"{HTTP.TimeoutRequest.var"#timeouts#1#4"{HTTP.ExceptionRequest.var"#exceptions#2"{HTTP.ExceptionRequest.var"#exceptions#1#3"{typeof(HTTP.StreamRequest.streamlayer)}}}}}})(req::HTTP.Messages.Request; proxy::Nothing, socket_type::Type, socket_type_tls::Nothing, readtimeout::Int64, connect_timeout::Int64, logerrors::Bool, logtag::Nothing, closeimmediately::Bool, kw::@kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64})
@ HTTP.ConnectionRequest ~/.julia/packages/HTTP/WctPa/src/clientlayers/ConnectionRequest.jl:144
[2] connections
@ ~/.julia/packages/HTTP/WctPa/src/clientlayers/ConnectionRequest.jl:60 [inlined]
[3] (::Base.var"#106#108"{Base.var"#106#107#109"{ExponentialBackOff, HTTP.RetryRequest.var"#2#5"{Int64, typeof(HTTP.RetryRequest.FALSE), HTTP.Messages.Request, Base.RefValue{Int64}}, HTTP.ConnectionRequest.var"#connections#4"{HTTP.ConnectionRequest.var"#connections#1#5"{HTTP.TimeoutRequest.var"#timeouts#3"{HTTP.TimeoutRequest.var"#timeouts#1#4"{HTTP.ExceptionRequest.var"#exceptions#2"{HTTP.ExceptionRequest.var"#exceptions#1#3"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}})(args::HTTP.Messages.Request; kwargs::@kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64})
@ Base ./error.jl:312
[4] (::HTTP.RetryRequest.var"#manageretries#3"{HTTP.RetryRequest.var"#manageretries#1#4"{HTTP.ConnectionRequest.var"#connections#4"{HTTP.ConnectionRequest.var"#connections#1#5"{HTTP.TimeoutRequest.var"#timeouts#3"{HTTP.TimeoutRequest.var"#timeouts#1#4"{HTTP.ExceptionRequest.var"#exceptions#2"{HTTP.ExceptionRequest.var"#exceptions#1#3"{typeof(HTTP.StreamRequest.streamlayer)}}}}}}}})(req::HTTP.Messages.Request; retry::Bool, retries::Int64, retry_delays::ExponentialBackOff, retry_check::Function, retry_non_idempotent::Bool, kw::@kwargs{iofunction::Nothing, decompress::Nothing, verbose::Int64})
@ HTTP.RetryRequest ~/.julia/packages/HTTP/WctPa/src/clientlayers/RetryR
|
docdeploy:
../../../.julia/packages/Documenter/Bs999/src/utilities/utilities.jl#L44
no docs found for '!!! warning "Missing docstring."
Missing docstring for `savefig(::Union{PlotlyBase.Plot}, ::String)`. Check Documenter's build log for details.' in `@docs` block in src/manipulating_plots.md:151-153
```@docs
savefig(::Union{PlotlyBase.Plot}, ::String)
```
|
docdeploy
Process completed with exit code 1.
|
docdeploy:
../../../.julia/packages/Documenter/Bs999/src/docchecks.jl#L243
linkcheck 'https://plot.ly/javascript' status: 301, redirects to 'https://plotly.com/javascript'
|
docdeploy:
../../../.julia/packages/Documenter/Bs999/src/docchecks.jl#L243
linkcheck 'https://community.plotly.com/c/graphing-libraries/julia/23' status: 301, redirects to 'https://community.plotly.com/c/plotly-r-matlab-julia-net/julia/23'
|
[julia-buildpkg] Caching of the julia depot was not detected
Consider using `julia-actions/cache` to speed up runs https://github.com/julia-actions/cache. To ignore, set input `ignore-no-cache: true`
|