For Shape type, cut off process
This commit is contained in:
parent
0cd81243ad
commit
cb7c63064e
@ -8,7 +8,7 @@ process_clims(f) = f
|
|||||||
function get_clims(sp::Subplot, op = process_clims(sp[:clims]))
|
function get_clims(sp::Subplot, op = process_clims(sp[:clims]))
|
||||||
zmin, zmax = Inf, -Inf
|
zmin, zmax = Inf, -Inf
|
||||||
for series in series_list(sp)
|
for series in series_list(sp)
|
||||||
if series[:colorbar_entry]
|
if series[:colorbar_entry] && (series[:seriestype] != :shape || series[:fillcolor] === nothing)
|
||||||
zmin, zmax = _update_clims(zmin, zmax, get_clims(series, op)...)
|
zmin, zmax = _update_clims(zmin, zmax, get_clims(series, op)...)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -16,6 +16,7 @@ function get_clims(sp::Subplot, op = process_clims(sp[:clims]))
|
|||||||
end
|
end
|
||||||
|
|
||||||
function get_clims(sp::Subplot, series::Series, op = process_clims(sp[:clims]))
|
function get_clims(sp::Subplot, series::Series, op = process_clims(sp[:clims]))
|
||||||
|
series[:seriestype] != :shape || series[:fillcolor] === nothing || return -Inf, Inf
|
||||||
zmin, zmax = if series[:colorbar_entry]
|
zmin, zmax = if series[:colorbar_entry]
|
||||||
get_clims(sp, op)
|
get_clims(sp, op)
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user