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 e775eac commit 446a0d1Copy full SHA for 446a0d1
labellines/core.py
@@ -238,7 +238,7 @@ def labelLines(
238
xvals[i] = new_xv # type: ignore
239
240
# Convert float values back to datetime in case of datetime axis
241
- if isinstance(ax.xaxis.converter, DateConverter):
+ if isinstance(ax.xaxis.get_converter(), DateConverter):
242
xvals = [
243
num2date(x).replace(tzinfo=ax.xaxis.get_units())
244
for x in xvals # type: ignore
0 commit comments