Repository navigation
Commit 00954c4
committed
Fix floating point issues in axes limits.
plt.plot([-.1, .2]) used to pick (in round numbers mode) [-.1, .25] as
ylims due to floating point inaccuracies; change it to pick [-.1, .2]
(up to floating point inaccuracies).
Note that this requires working around a bug in numpy's implementation
of divmod (numpy/numpy#6127).
Many test images have changed!
See matplotlib#5767.
Probably also wraps up work on matplotlib#5738, but tests are missing.1 parent 892fc5f commit 00954c4
23 files changed
Lines changed: 3401 additions & 3440 deletions
File tree
- lib
- matplotlib
- tests
- baseline_images
- test_axes
- test_bbox_tight
- mpl_toolkits/tests/baseline_images/test_mplot3d
Binary file not shown.
Binary file not shown.
Binary file not shown.
0 commit comments