Skip to content

Pin matplotlib version to <3.7

Geoffrey Mo requested to merge geoffrey.mo/gwcelery:pin-mpl-version into main

Alternate way to solve !1077 (closed). Revert when a new gwpy version is released.

The detchar test (and possibly also a bilby_pipe test) was failing with

ax = <Axes: xlabel='Time [$\\mathrm{s}$]', ylabel='Frequency [$\\mathrm{Hz}$]'>
    def _get_axes_class(ax):
        if isinstance(ax, SubplotBase):
>           return ax._axes_class
E           AttributeError: 'Axes' object has no attribute '_axes_class'
/usr/local/lib/python3.8/site-packages/gwpy/plot/colorbar.py:141: AttributeError

due to an update in matplotlib.

Edited by Geoffrey Mo

Merge request reports

Loading