Commit a2e251a
BUG: calculate colorbar boundaries correctly from values (#13114)
Closes #13098.
The unusual case of a call to colorbar with specified values
occurs in test_colorbar.py test_colorbar_closed_patch. The
effect of the bug there was to disable the ticks; but
evidently this was considered a feature, because the example
image was made with the bug in place, hence with no ticks on
the colorbars. Therefore I have modified the test code to
explicitly disable the ticks, so the test images don't have
to be changed.1 parent 0c35833 commit a2e251a
2 files changed
Lines changed: 13 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
791 | 791 | | |
792 | 792 | | |
793 | 793 | | |
794 | | - | |
| 794 | + | |
795 | 795 | | |
796 | 796 | | |
797 | 797 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
245 | 249 | | |
| 250 | + | |
| 251 | + | |
246 | 252 | | |
| 253 | + | |
| 254 | + | |
247 | 255 | | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
256 | 260 | | |
257 | 261 | | |
258 | 262 | | |
| |||
0 commit comments