Commit afce18f
Avoid in-place multiplication of a large value to an array with small integer dtype (#8867)
* Avoid inplace multiplication
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update test_plot.py
* Update test_plot.py
* Update dataarray_plot.py
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>1 parent ffb30a8 commit afce18f
2 files changed
+10
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1848 | 1848 | | |
1849 | 1849 | | |
1850 | 1850 | | |
1851 | | - | |
| 1851 | + | |
| 1852 | + | |
1852 | 1853 | | |
1853 | | - | |
| 1854 | + | |
1854 | 1855 | | |
1855 | 1856 | | |
1856 | 1857 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2040 | 2040 | | |
2041 | 2041 | | |
2042 | 2042 | | |
2043 | | - | |
2044 | | - | |
| 2043 | + | |
| 2044 | + | |
| 2045 | + | |
2045 | 2046 | | |
2046 | 2047 | | |
2047 | 2048 | | |
2048 | | - | |
2049 | | - | |
2050 | | - | |
| 2049 | + | |
| 2050 | + | |
| 2051 | + | |
2051 | 2052 | | |
| 2053 | + | |
2052 | 2054 | | |
2053 | 2055 | | |
2054 | 2056 | | |
| |||
0 commit comments