mixing ios in println
This commit is contained in:
parent
0c67a61e7d
commit
6131154dd0
@ -819,16 +819,16 @@ debugshow(io, x::AbstractArray) = print(io, summary(x))
|
|||||||
|
|
||||||
function dumpdict(io::IO, plotattributes::KW, prefix = "", alwaysshow = false)
|
function dumpdict(io::IO, plotattributes::KW, prefix = "", alwaysshow = false)
|
||||||
_debugMode.on || alwaysshow || return
|
_debugMode.on || alwaysshow || return
|
||||||
println()
|
println(io)
|
||||||
if prefix != ""
|
if prefix != ""
|
||||||
println(prefix, ":")
|
println(io, prefix, ":")
|
||||||
end
|
end
|
||||||
for k in sort(collect(keys(plotattributes)))
|
for k in sort(collect(keys(plotattributes)))
|
||||||
@printf("%14s: ", k)
|
@printf("%14s: ", k)
|
||||||
debugshow(io, plotattributes[k])
|
debugshow(io, plotattributes[k])
|
||||||
println()
|
println(io)
|
||||||
end
|
end
|
||||||
println()
|
println(io)
|
||||||
end
|
end
|
||||||
DD(io::IO, plotattributes::KW, prefix = "") = dumpdict(io, plotattributes, prefix, true)
|
DD(io::IO, plotattributes::KW, prefix = "") = dumpdict(io, plotattributes, prefix, true)
|
||||||
DD(plotattributes::KW, prefix = "") = DD(stdout, plotattributes, prefix)
|
DD(plotattributes::KW, prefix = "") = DD(stdout, plotattributes, prefix)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user