We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4acbaa commit 2a2f2d2Copy full SHA for 2a2f2d2
proplot/wrappers.py
@@ -1858,7 +1858,9 @@ def cycle_changer(
1858
label = labels[i] # input labels
1859
labels_cols, label_leg_cbar = _axis_labels_title(y_first, axis=1)
1860
labels_cols = _to_ndarray(labels_cols)
1861
- if label is None and (label_leg_cbar or isinstance(labels_cols[i], str)):
+ if label is None and (
1862
+ label_leg_cbar or labels_cols.size and isinstance(labels_cols[i], str)
1863
+ ):
1864
label = labels_cols[i]
1865
if label is not None:
1866
kw['label'] = label
0 commit comments