Thanks to visit codestin.com Credit goes to github.com
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 f2bfe37 commit d795d42Copy full SHA for d795d42
1 file changed
lib/matplotlib/axes.py
@@ -2095,7 +2095,7 @@ def xaxis_date(self, tz=None):
2095
2096
formatter = self.xaxis.get_major_formatter()
2097
if not isinstance(formatter, mdates.DateFormatter):
2098
- formatter = mdates.AutoDateFormatter(locator)
+ formatter = mdates.AutoDateFormatter(locator, tz)
2099
self.xaxis.set_major_formatter(formatter)
2100
2101
def yaxis_date(self, tz=None):
@@ -2132,7 +2132,7 @@ def yaxis_date(self, tz=None):
2132
2133
2134
2135
2136
self.yaxis.set_major_formatter(formatter)
2137
2138
def format_xdata(self, x):
0 commit comments