Skip to content

Commit

Permalink
Default value for legend_text_spacing_offset
Browse files Browse the repository at this point in the history
  • Loading branch information
Soontosh authored Jul 20, 2024
1 parent d9ffd88 commit d204889
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions visualkeras/layered.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -436,4 +436,4 @@ def layered_view(model,
if to_file is not None:
img.save(to_file)

return img
return img

0 comments on commit d204889

Please sign in to comment.