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 79f4a11 commit 72cd67aCopy full SHA for 72cd67a
lib/matplotlib/units.py
@@ -60,9 +60,7 @@ def _accepts_units(convert_x, convert_y):
60
Parameters
61
----------
62
convert_x, convert_y : list
63
- A list of integers or strings (can be mixed). Integers denote
64
- non-keyword arguments to be converted, and strings denote keyword
65
- arguments to be converted.
+ A list of integers or strings, indicating the arguments to be converted
66
"""
67
def decorator(func):
68
def wrapper(*args, **kwargs):
test.py
@@ -0,0 +1,7 @@
1
+from datetime import datetime
2
+import matplotlib.pyplot as plt
3
+
4
5
+data = {"x": 1, "y": datetime(1992, 12, 21)}
6
+plt.scatter('x', 'y', data=data)
7
+plt.show()
0 commit comments