Skip to content

Commit bc8787d

Browse files
committed
Merge branch 'main' into devel
2 parents 44bfbc6 + eef1772 commit bc8787d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/maxplotlib/canvas/canvas.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1196,6 +1196,9 @@ def set_legend(
11961196
def legend(self, row=None, col=None, **kwargs):
11971197
self._get_or_create_subplot(row, col).set_legend(**kwargs)
11981198

1199+
def legend(self, row=None, col=None, **kwargs):
1200+
self._get_or_create_subplot(row, col).set_legend(**kwargs)
1201+
11991202
def tick_params(self, row: int | None = None, col: int | None = None, **kwargs):
12001203
"""Configure major/minor tick appearance for a subplot."""
12011204
self._get_or_create_subplot(row, col).tick_params(**kwargs)

0 commit comments

Comments
 (0)