← 输入框|github.com|刷新
Skip to content

plot_date does not respect timezone (argument tz is ignored) #193

Closed

Description

@ddale

Original report at SourceForge, opened Wed Feb 9 17:11:10 2011

The function matplotlib.pyplot.plot_date has a keyword argument tz that may contain a time zone for formatting the time values.
This argument is ignored.

matplotlib.version == '1.0.1'

Details

The keyword argument tz is really erroneously ignored in
matplotlib.axes.Axes.xaxis_date (file "axes.py", line 2679)
but it matters for the high level function matplotlib.pyplot.plot_date.

SourceForge Comments

On Mon Feb 21 08:16:09 2011, eike wrote:

See also this discussion on Stack Overflow:
http://stackoverflow.com/questions/4485607/matplotlib-plot-date-keeping-times-in-utc-even-with-custom-timezone

Activity

  1. efiring commented on Jun 21, 2011

    @efiring
    Member

    Fixed in 376df4e

  2. korywka commented on Aug 14, 2015

    @korywka

    i have the same issue again in the latest version. tz is ignored. does someone else can approve?

  3. tacaswell commented on Aug 14, 2015

    @tacaswell
    Member

    @bravedick Can you provide an example that does not work correctly?

  4. tacaswell commented on Aug 14, 2015

    @tacaswell
    Member

    and please open a new issue with that example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions