Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7fc7824

Browse files
committed
Make AutoDateFormatter actually use any specified timezone setting. This was only working correctly when no timezone was specified.
svn path=/trunk/matplotlib/; revision=7889
1 parent 6bfeb34 commit 7fc7824

2 files changed

Lines changed: 10 additions & 6 deletions

File tree

CHANGELOG

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1+
2009-10-16 Make AutoDateFormatter actually use any specified
2+
timezone setting.This was only working correctly
3+
when no timezone was specified. - RMM
4+
15
2009-09-27 Beginnings of a capability to test the pdf backend. - JKS
26

3-
2009-09-27 Add a savefig.extension rcparam to control the default
7+
2009-09-27 Add a savefig.extension rcparam to control the default
48
filename extension used by savefig. - JKS
59

610
===============================================
@@ -15,18 +19,18 @@
1519
against exceptions in case a dvi font is missing some metrics. - JKS
1620

1721
2009-09-15 Implement draw_text and draw_tex method of backend_base using
18-
the textpath module. Implement draw_tex method of the svg
22+
the textpath module. Implement draw_tex method of the svg
1923
backend. - JJL
2024

2125
2009-09-15 Don't fail on AFM files containing floating-point bounding boxes - JKS
2226

23-
2009-09-13 AxesGrid : add modified version of colorbar. Add colorbar
27+
2009-09-13 AxesGrid : add modified version of colorbar. Add colorbar
2428
location howto. - JJL
2529

26-
2009-09-07 AxesGrid : implemented axisline style.
30+
2009-09-07 AxesGrid : implemented axisline style.
2731
Added a demo examples/axes_grid/demo_axisline_style.py- JJL
2832

29-
2009-09-04 Make the textpath class as a separate moduel
33+
2009-09-04 Make the textpath class as a separate moduel
3034
(textpath.py). Add support for mathtext and tex.- JJL
3135

3236
2009-09-01 Added support for Gouraud interpolated triangles.

lib/matplotlib/dates.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ def __call__(self, x, pos=0):
450450
fmt = self.scaled[k]
451451
break
452452

453-
self._formatter = DateFormatter(fmt)
453+
self._formatter = DateFormatter(fmt, self._tz)
454454
return self._formatter(x, pos)
455455

456456

0 commit comments

Comments
 (0)