For Shape type, cut off process

This commit is contained in:
Nicholas Bauer 2021-09-22 03:17:50 -04:00
parent 0cd81243ad
commit cb7c63064e

View File

@ -8,7 +8,7 @@ process_clims(f) = f
function get_clims(sp::Subplot, op = process_clims(sp[:clims]))
zmin, zmax = Inf, -Inf
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)...)
end
end
@ -16,6 +16,7 @@ function get_clims(sp::Subplot, op = process_clims(sp[:clims]))
end
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]
get_clims(sp, op)
else