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