From d204889b44a2aac91d87708691f2a6947595e8bd Mon Sep 17 00:00:00 2001 From: Santosh Patapati <70448994+Soontosh@users.noreply.github.com> Date: Fri, 19 Jul 2024 22:03:34 -0500 Subject: [PATCH] Default value for legend_text_spacing_offset --- visualkeras/layered.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/visualkeras/layered.py b/visualkeras/layered.py index 9e67263..589ce70 100644 --- a/visualkeras/layered.py +++ b/visualkeras/layered.py @@ -40,7 +40,7 @@ def layered_view(model, draw_funnel: bool = True, shade_step=10, legend: bool = False, - legend_text_spacing_offset = 0, + legend_text_spacing_offset = 15, font: ImageFont = None, font_color: Any = 'black', show_dimension=False) -> Image: @@ -436,4 +436,4 @@ def layered_view(model, if to_file is not None: img.save(to_file) - return img \ No newline at end of file + return img