8000 doc for type of tz parameter is inconsistent throughout dates.py · Issue #15710 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content
doc for type of tz parameter is inconsistent throughout dates.py #15710
Closed
@anntzer

Description

@anntzer

The docs for the tz parameter of various functions and classes in matplotlib.dates is inconsistent: some document it as taking a tzinfo value, others a str value, some of those declaring it to be of type tzinfo also declare its default to be rcParams["timezone"]... which is a str, not a tzinfo.

If the various APIs really take different-typed inputs, it may be nice to harmonize them; if that's just a doc issue (which is not unlikely, but I haven't checked), it should also be fixed.

Matplotlib version

  • Matplotlib version: master as of 3.2.0rc

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0