Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f9c43b7

Browse files
committed
FIX: make robust to units
1 parent 6e410db commit f9c43b7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/matplotlib/axes/_axes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2048,7 +2048,7 @@ def _convert_dx(dx, x0, xconv, convert):
20482048
try:
20492049
x = xconv[0]
20502050
except (TypeError, IndexError, KeyError):
2051-
x = xconv
2051+
x = xconv
20522052

20532053
delist = False
20542054
if not np.iterable(dx):

0 commit comments

Comments
 (0)