You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Using matplotlib 3.8 results in runtime error in calculations.py
To Reproduce
Steps to reproduce the behavior:
uninstall matplotlib old version and install matplotlib stable version
run make tests
error message
=================== short test summary info ====================
FAILED aat/tests/strategy/test_offline_calculations.py::TestOfflineCalculations::test_calculations - AttributeError: 'GrouperView' object has no attribute 'join'
with some simple debug, we can trace to line 335 of aat/tests/strategy/test_offline_calculations.py:
...python
# join all but last on x axis
for ax in axes[:-1]:
axes[0].get_shared_x_axes().join(axes[0], ax)
...
where newer version of matplotlib has modified the method get_shared_x_axes() to return cbook.GrouperView object which does not have an attribute join
We can either restrict the maximum version number of matplotlib or modify aat code to make it compatible
The text was updated successfully, but these errors were encountered:
Describe the bug
Using matplotlib 3.8 results in runtime error in
calculations.py
To Reproduce
Steps to reproduce the behavior:
make tests
error message
with some simple debug, we can trace to line 335 of
aat/tests/strategy/test_offline_calculations.py:
where newer version of matplotlib has modified the method
get_shared_x_axes()
to returncbook.GrouperView
object which does not have an attributejoin
We can either restrict the maximum version number of matplotlib or modify aat code to make it compatible
The text was updated successfully, but these errors were encountered: