Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/tikzplotlib/_legend.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def draw_legend(data, obj):
if alignment:
data["current axes"].axis_options.append(f"legend cell align={{{alignment}}}")

if obj._ncol != 1:
if obj._ncols != 1:
data["current axes"].axis_options.append(f"legend columns={obj._ncol}")
Comment thread
thekpaul marked this conversation as resolved.
Outdated

# Write styles to data
Expand Down