Skip to content

Commit 88fdd44

Browse files
committed
Update release notes and fix flaky test
1 parent 53f2b12 commit 88fdd44

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

doc/whatsnew/v0.12.2.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,11 @@ v0.12.2 (Unreleased)
66

77
- |Enhancement| Automatic mark widths are now calculated separately for unshared facet axes (:pr:`3119`).
88

9+
- |Enhancement| Improved user feedback for failures during plot compilation by catching exceptions an reraising with a `PlotSpecError` that provides additional context (:pr:`3203`).
10+
911
- |Fix| Fixed a bug where legends for numeric variables with large values with be incorrectly shown (i.e. with a missing offset or exponent; :pr:`3187`).
1012

11-
- |Fix| Improve robustness to empty data in several components of the objects interface (:pr:`3202`).
13+
- |Fix| Improved robustness to empty data in several components of the objects interface (:pr:`3202`).
1214

1315
- |Fix| Fixed a regression in v0.12.0 where manually-added labels could have duplicate legend entries (:pr:`3116`).
1416

tests/test_distributions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1934,8 +1934,8 @@ def test_mesh_log_scale(self, rng):
19341934
edges = itertools.product(y_edges[:-1], x_edges[:-1])
19351935
for i, (y_i, x_i) in enumerate(edges):
19361936
path = mesh.get_paths()[i]
1937-
assert path.vertices[0, 0] == 10 ** x_i
1938-
assert path.vertices[0, 1] == 10 ** y_i
1937+
assert path.vertices[0, 0] == pytest.approx(10 ** x_i)
1938+
assert path.vertices[0, 1] == pytest.approx(10 ** y_i)
19391939

19401940
def test_mesh_thresh(self, long_df):
19411941

0 commit comments

Comments
 (0)