Details
-
Type:
Bug
-
Status: To Do
-
Resolution: Unresolved
-
Fix Version/s: None
-
Component/s: spectractor
-
Labels:None
-
Team:Data Release Production
-
Urgent?:No
Description
This lsst_distrib clean build failed in the spectractor tests with this error from matplotlib called from photutils:
ValueError: Can not reset the axes. You are probably trying to re-use an artist in more than one Axes which is not supported
|
The spectractor code has not changed, but photutils updated from 1.7.0 to 1.8.0. It seems that we may need to aggressively pin the photutils version in rubin-env.
This turns out to be a change in the photutils.Background2D.plot_meshes() API. The use of axes was deprecated some time ago, but spectractor was never changed to the new API. Since this is not a photutils bug, I'm going to have to pin it, but this ticket should be used to fix spectractor.