Fix matplotlib date convertor

This commit is contained in:
allegroai 2021-05-08 23:58:04 +03:00
parent 8c4fa4373a
commit 607333f770

View File

@ -180,7 +180,7 @@ class PlotlyRenderer(Renderer):
# let all subsequent dates be handled properly if required
if "type" in dir(xaxis) and xaxis["type"] == "date":
if xaxis.get("type") == "date":
self.x_is_mpl_date = True
self.axis_ct += 1