Skip to content

Commit

Permalink
make title alignment default to left
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr-Milk committed Oct 13, 2022
1 parent 6e97a66 commit 04b1ff8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion legendkit/_colorart.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def __init__(self,
title=None, # legend title
title_fontsize=None, # legend title font size
title_fontproperties=None, # legend title font size
alignment="baseline",
alignment="left",

loc=None,
deviation=0.05,
Expand Down
2 changes: 1 addition & 1 deletion legendkit/_colorbar.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def __init__(
borderpad: Any = 0,
orientation: str = "vertical",
title: str = None,
alignment: str = "center",
alignment: str = "left",
title_fontproperties: Dict = None,
**colorbar_options,
):
Expand Down

0 comments on commit 04b1ff8

Please sign in to comment.