Commit 788abaf
Backport PR #9168: Fix pcolormesh and DatetimeIndex error
<!--Thank you so much for your PR! To help us review, fill out the form
to the best of your ability. Please make use of the development guide at
https://matplotlib.org/devdocs/devel/index.html-->
<!--Provide a general summary of your changes in the title above, for
example "Raises ValueError on Non-Numeric Input to set_xlim". Please avoid
non-descriptive titles such as "Addresses issue 8576".-->
<!--If you are able to do so, please do not create the
PR out of master, but out of a separate branch. See
https://matplotlib.org/devel/gitwash/development_workflow.html for
instructions.-->
PR Summary
Fixes issue with `DatetimeIndex` and `pcolormesh`: #9167
<!--Please provide at least 1-2 sentences describing the pull request in
detail. Why is this change required? What problem does it solve?-->
<!--If it fixes an open issue, please link to the issue here.-->
PR Checklist
- [X ] Code is PEP 8 compliant
<!--We understand that PRs can sometimes be overwhelming, especially as the
reviews start coming in. Please let us know if the reviews are unclear or the
recommended next step seems overly demanding , or if you would like help in
addressing a reviewer's comments. And please ping us if you've been waiting
too long to hear back on your PR.-->1 parent f5893ce commit 788abafCopy full SHA for 788abaf
File tree
Expand file treeCollapse file tree
2 files changed
+14
-2
lines changedOpen diff view settings
Filter options
- lib/matplotlib
- axes
- tests
Expand file treeCollapse file tree
2 files changed
+14
-2
lines changedOpen diff view settings
Collapse file
lib/matplotlib/axes/_axes.py
Copy file name to clipboardExpand all lines: lib/matplotlib/axes/_axes.py+3-2Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
5620 | 5620 | |
5621 | 5621 | |
5622 | 5622 | |
5623 | | - |
| 5623 | + |
| 5624 | + |
5624 | 5625 | |
5625 | 5626 | |
5626 | 5627 | |
5627 | 5628 | |
5628 | 5629 | |
5629 | 5630 | |
5630 | 5631 | |
5631 | | - |
| 5632 | + |
5632 | 5633 | |
5633 | 5634 | |
5634 | 5635 | |
|
Collapse file
lib/matplotlib/tests/test_axes.py
Copy file name to clipboardExpand all lines: lib/matplotlib/tests/test_axes.py+11Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
4929 | 4929 | |
4930 | 4930 | |
4931 | 4931 | |
| 4932 | + |
| 4933 | + |
| 4934 | + |
| 4935 | + |
| 4936 | + |
| 4937 | + |
| 4938 | + |
| 4939 | + |
| 4940 | + |
| 4941 | + |
| 4942 | + |
4932 | 4943 | |
4933 | 4944 | |
4934 | 4945 | |
|
0 commit comments