We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f427d56 commit 0462d2eCopy full SHA for 0462d2e
lib/matplotlib/units.py
@@ -78,6 +78,8 @@ def wrapper(*args, **kwargs):
78
79
# Helper method to process unit info, and convert *original_data*
80
def _process_info(original_data, axis):
81
+ if original_data is None:
82
+ return
83
if axis == 'x':
84
axes._process_unit_info(xdata=original_data, kwargs=kwargs)
85
converted_data = axes.convert_xunits(original_data)
0 commit comments