Short-circuit rendering on no 1d-data; avoid m4 layer crash
parent
1aab9f1f81
commit
889e920796
|
@ -192,6 +192,10 @@ class Renderer(msgspec.Struct):
|
|||
|
||||
) = fmt_out
|
||||
|
||||
if not x_1d.size:
|
||||
log.warning(f'{array_key} has no `.size`?')
|
||||
return
|
||||
|
||||
# redraw conditions
|
||||
if (
|
||||
prepend_length > 0
|
||||
|
|
Loading…
Reference in New Issue