| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
I've not analyzed the details, but is _check_1d compatible with unit hanling? hlines/vlines do _proces_unit_info as their first task.
Sorry, something went wrong.
|
I did insert this after stem does its own _process_unit_info calls. At least there's a datetime test for stem in test_datetime that didn't seem to break. |
Sorry, something went wrong.
This also has the side-effect of casting torch Tensors to NumPy arrays, which fixes matplotlib#30216. Since `stem` is made up of `plot` and `[hv]lines` whic already do this cast, this just moves it up one level which prevents doing it twice.
…233-on-v3.10.x Backport PR #30233 on branch v3.10.x (Check that stem input is 1D)
| Back | FazBrowse Home | New Git URL |
PR summary
This also has the side-effect of casting torch Tensors to NumPy arrays, which fixes #30216. Since stem is made up of plot and [hv]lines whic already do this cast, this just moves it up one level which prevents doing it twice.
We don't have any testing with torch directly, so I didn't add any of that sort.
PR checklist