Skip to content

Commit f620d61

Browse files
committed
Fixed issue where prop_keys are missing
1 parent 034ed7e commit f620d61

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

proplot/axes/plot.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -2498,8 +2498,9 @@ def _parse_cycle(
24982498
cycle_manually = cycle_manually or {}
24992499
parser = self._get_lines # the _process_plot_var_args instance
25002500
props = {} # which keys to apply from property cycler
2501+
# BREAKING in mpl3.9.1 parse has cycle items and no longer posseses _prop_keys
25012502
for prop, key in cycle_manually.items():
2502-
if kwargs.get(key, None) is None and prop in parser._prop_keys:
2503+
if kwargs.get(key, None) is None and any(prop in item for item in parser._cycler_items):
25032504
props[prop] = key
25042505
if props:
25052506
for dict_ in parser._cycler_items:

0 commit comments

Comments
 (0)