Skip to content

Commit 19779c9

Browse files
committed
Fix bug due to samples --> N rename
1 parent 9a70e9e commit 19779c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

proplot/wrappers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1512,7 +1512,7 @@ def cycle_changer(
15121512
# Get the new cycler
15131513
cycle_args = () if cycle is None else (cycle,)
15141514
if not is1d and y.shape[1] > 1: # default samples count
1515-
cycle_kw.setdefault('samples', y.shape[1])
1515+
cycle_kw.setdefault('N', y.shape[1])
15161516
cycle = styletools.Cycle(*cycle_args, **cycle_kw)
15171517
# Get the original property cycle
15181518
# NOTE: Matplotlib saves itertools.cycle(cycler), not the original

0 commit comments

Comments
 (0)