Skip to content

Commit fe7b2d1

Browse files
committed
Fix keyword conflict sizes/markersizes in barbs (closes #287)
1 parent c7d88a5 commit fe7b2d1

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

WHATSNEW.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ Bug fixes
7171
for negative (descending) step size (:commit:`ec1f8410`).
7272
* Fix issue where color of contour `labels` cannot be changed
7373
with `labels_kw` (:commit:`d101575d`).
74+
* Fix keyword conflict where `sizes` are interpreted as ``Collection``
75+
marker sizes when passed to `~proplot.axes.PlotAxes.barb` (:issue:`287`).
7476
* Fix `~proplot.ticker.AutoFormatter` issue where `orderOfMagnitude` is
7577
not taken into account when correcting small tick values truncated to
7678
zero on (usually logarithmic) axis scales (:commit:`54fbef0b`).

proplot/internals/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
'linestyle': ('ls', 'linestyles'),
6363
'linewidth': ('lw', 'linewidths'),
6464
'marker': ('m', 'markers'),
65-
'markersize': ('s', 'ms', 'markersizes', 'sizes'),
65+
'markersize': ('s', 'ms', 'markersizes'), # WARNING: no 'sizes' here for barb
6666
'markeredgewidth': ('ew', 'edgewidth', 'edgewidths', 'mew', 'markeredgewidths'),
6767
'markeredgecolor': ('ec', 'edgecolor', 'edgecolors', 'mec', 'markeredgecolors'),
6868
'markerfacecolor': (

0 commit comments

Comments
 (0)