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
The following error doesn't appear in earlier versions of matplotlib, but magically does in when running SIP with matplotlib = 3.8:
Traceback (most recent call last):
File "/mnt/home/student/csuvas/miniconda3/envs/sip2/bin/sofia_image_pipeline", line 8, in <module>
sys.exit(main())
File "/mnt/home/student/csuvas/miniconda3/envs/sip2/lib/python3.9/site-packages/src/image_pipeline.py", line 190, in main
make_images.main(source, src_basename, opt_view=opt_view, suffix=suffix, sofia=sofia, beam=beam,
File "/mnt/home/student/csuvas/miniconda3/envs/sip2/lib/python3.9/site-packages/src/make_images.py", line 1125, in main
make_mom1(source, src_basename, cube_params, patch, opt_head, opt_view, HIlowest, suffix=suffix, sofia=2)
File "/mnt/home/student/csuvas/miniconda3/envs/sip2/lib/python3.9/site-packages/src/make_images.py", line 518, in make_mom1
cf = ax1.contour(mom1_d, colors=clevels, levels=levels, linewidths=0.6, transform=ax1.get_transform(cubew))
File "/mnt/home/student/csuvas/miniconda3/envs/sip2/lib/python3.9/site-packages/astropy/visualization/wcsaxes/core.py", line 264, in contour
transform_contour_set_inplace(cset, transform)
File "/mnt/home/student/csuvas/miniconda3/envs/sip2/lib/python3.9/site-packages/astropy/visualization/wcsaxes/utils.py", line 176, in transform_contour_set_inplace
vertices = transform.transform(vertices)
File "/mnt/home/student/csuvas/miniconda3/envs/sip2/lib/python3.9/site-packages/matplotlib/transforms.py", line 1495, in transform
res = self.transform_affine(self.transform_non_affine(values))
File "/mnt/home/student/csuvas/miniconda3/envs/sip2/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 297, in wrapper
return func(*args, **kwargs)
File "/mnt/home/student/csuvas/miniconda3/envs/sip2/lib/python3.9/site-packages/matplotlib/transforms.py", line 2419, in transform_non_affine
return self._b.transform_non_affine(self._a.transform(values))
File "/mnt/home/student/csuvas/miniconda3/envs/sip2/lib/python3.9/site-packages/astropy/visualization/wcsaxes/wcsapi.py", line 318, in transform
raise ValueError(
ValueError: Expected 2 world coordinates, got 0
Solution so far is to limit possible versions of matplotlib in setup.py, but will likely need a longer term solution. Maybe it's an astropy compatability with matplotlib issue?
The text was updated successfully, but these errors were encountered:
The following error doesn't appear in earlier versions of matplotlib, but magically does in when running SIP with matplotlib = 3.8:
Solution so far is to limit possible versions of matplotlib in setup.py, but will likely need a longer term solution. Maybe it's an astropy compatability with matplotlib issue?
The text was updated successfully, but these errors were encountered: