Commit 847e595
committed
Move empty hexbin fix to make_norm_from_scale.
3d2ffef added special-casing to handle empty log-scale hexbins, but the
more back-compatible fix is to switch make_norm_from_scale to reproduce
the old behavior of setting vmin/vmax to np.ma.masked when autoscaling
with an empty array. (Whether that behavior is really better is
unclear, but until this is properly investigated, it seems safer to go
back to it.)1 parent 534077d commit 847e595
2 files changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4993 | 4993 | | |
4994 | 4994 | | |
4995 | 4995 | | |
4996 | | - | |
4997 | | - | |
4998 | | - | |
| 4996 | + | |
4999 | 4997 | | |
5000 | 4998 | | |
5001 | 4999 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1718 | 1718 | | |
1719 | 1719 | | |
1720 | 1720 | | |
| 1721 | + | |
| 1722 | + | |
1721 | 1723 | | |
1722 | 1724 | | |
1723 | 1725 | | |
1724 | 1726 | | |
| 1727 | + | |
| 1728 | + | |
1725 | 1729 | | |
1726 | 1730 | | |
1727 | 1731 | | |
| |||
0 commit comments