Closed
Description
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