gwpy / gwsumm

Gravitational-wave interferometer summary information system
GNU General Public License v3.0
12 stars 23 forks source link

Update usage of GWpy's has_tex #390

Closed duncanmmacleod closed 9 months ago

duncanmmacleod commented 9 months ago

This PR fixes an ImportError related to the gwpy.plot.tex.HAS_TEX global variable, which was removed in 3.0.8, by replacing it with a call to has_tex(), which does exactly the same thing.

eagoetz commented 9 months ago

@duncanmmacleod Does this mean the version pin for gwpy should also be updated by this PR?

duncanmmacleod commented 9 months ago

@duncanmmacleod Does this mean the version pin for gwpy should also be updated by this PR?

No, the function has_tex() has been available since 0.12.0.