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 c8436ef commit 568365eCopy full SHA for 568365e
plotly/matplotlylib/renderer.py
@@ -256,6 +256,9 @@ def draw_bar(self, coll):
256
y = [bar['y1'] for bar in trace]
257
bar_gap = mpltools.get_bar_gap([bar['x0'] for bar in trace],
258
[bar['x1'] for bar in trace])
259
+ if self.x_is_mpl_date:
260
+ x = [bar['x0'] for bar in trace]
261
+ x = mpltools.mpl_dates_to_datestrings(x)
262
else:
263
self.msg += " Attempting to draw a horizontal bar chart\n"
264
old_rights = [bar_props['x1'] for bar_props in trace]
0 commit comments