Skip to content

Commit 0c2d996

Browse files
committed
Remove separate n arg entirely
1 parent 76d241e commit 0c2d996

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

src/py/kaleido/__init__.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ async def write_fig( # noqa: PLR0913 (too many args, complexity)
6060
topojson=None,
6161
error_log=None,
6262
profiler=None,
63-
n=1,
6463
kopts=None,
6564
):
6665
"""
@@ -75,8 +74,6 @@ async def write_fig( # noqa: PLR0913 (too many args, complexity)
7574
See documentation for `Kaleido.write_fig()` for the other arguments.
7675
7776
"""
78-
if "n" not in kopts:
79-
kopts["n"] = n
8077
async with Kaleido(**kopts) as k:
8178
await k.write_fig(
8279
fig,
@@ -93,7 +90,6 @@ async def write_fig_from_object(
9390
*,
9491
error_log=None,
9592
profiler=None,
96-
n=1,
9793
kopts=None,
9894
):
9995
"""
@@ -108,8 +104,6 @@ async def write_fig_from_object(
108104
arguments.
109105
110106
"""
111-
if "n" not in kopts:
112-
kopts["n"] = n
113107
async with Kaleido(**kopts) as k:
114108
await k.write_fig_from_object(
115109
generator,

0 commit comments

Comments
 (0)