- Notifications
You must be signed in to change notification settings - Fork1
Commit8fb74db
Adapt to change in Axes with maptlotlib==3.7.1 (#263)
Bump matplotlib to ``3.7.1`` in ``poetry.lock``.The matplotlib 'Axes' class no longer inherits from 'SubplotBase'sincematplotlib/matplotlib#23573.This breaks the '_get_subplot' method in 'sampling_point.py' whichchecks if the passed 'axes_obj' is a 'SubplotBase' instance todistinguish between indexable and non-indexable objects.To fix this, we now use a try-except block to index into the'axes_obj', and catch the 'TypeError' that is raised if it isand 'Axes' (as opposed to an array).---------Signed-off-by: dependabot[bot] <support@github.com>Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Co-authored-by: Dominik Gresch <dominik.gresch@ansys.com>1 parent79d83a0 commit8fb74db
2 files changed
+131
-48
lines changed0 commit comments
Comments
(0)