linewidth default
This commit is contained in:
parent
59c1e24371
commit
548c59719b
@ -642,9 +642,9 @@ function preprocessArgs!(d::KW)
|
|||||||
processLineArg(d, arg)
|
processLineArg(d, arg)
|
||||||
end
|
end
|
||||||
# delete!(d, :line)
|
# delete!(d, :line)
|
||||||
if get(d, :linewidth, :auto) == :auto
|
# if get(d, :linewidth, :auto) == :auto
|
||||||
d[:linewidth] = (get(d, :linetype, :path) in (:surface,:heatmap) ? 0 : 1)
|
# d[:linewidth] = (get(d, :linetype, :path) in (:surface,:heatmap) ? 0 : 1)
|
||||||
end
|
# end
|
||||||
|
|
||||||
# handle marker args... default to ellipse if shape not set
|
# handle marker args... default to ellipse if shape not set
|
||||||
anymarker = false
|
anymarker = false
|
||||||
|
|||||||
@ -189,6 +189,11 @@ function _add_series(plt::Plot, d::KW, ::Void, args...;
|
|||||||
delete!(di, k)
|
delete!(di, k)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# get a good default linewidth... 0 for surface and heatmaps
|
||||||
|
if get(di, :linewidth, :auto) == :auto
|
||||||
|
di[:linewidth] = (get(di, :linetype, :path) in (:surface,:heatmap,:image) ? 0 : 1)
|
||||||
|
end
|
||||||
|
|
||||||
# merge in plotarg_overrides
|
# merge in plotarg_overrides
|
||||||
plotarg_overrides = pop!(di, :plotarg_overrides, nothing)
|
plotarg_overrides = pop!(di, :plotarg_overrides, nothing)
|
||||||
if plotarg_overrides != nothing
|
if plotarg_overrides != nothing
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user