glue SgrB2_a_03_7M.lowres.spw0.image.pbcor.fits
2014-12-09 21:23:33.021 python[16286:507] modalSession has been exited prematurely - check for a reentrant call to endModalSession:
/Users/adam/anaconda/envs/astropy27/lib/python2.7/site-packages/matplotlib/text.py:52: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
if rotation in ('horizontal', None):
/Users/adam/anaconda/envs/astropy27/lib/python2.7/site-packages/matplotlib/text.py:54: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
elif rotation == 'vertical':
Traceback (most recent call last):
File "/Users/adam/repos/glue/glue/qt/widgets/image_widget.py", line 191, in <lambda>
ui.slice.slice_changed.connect(lambda: setattr(self, 'slice', self.ui.slice.slice))
File "/Users/adam/repos/glue/glue/qt/widgets/image_widget.py", line 177, in slice
self.client.slice = value
File "/Users/adam/repos/glue/glue/external/echo.py", line 55, in __set__
self._setter(instance, value)
File "/Users/adam/repos/glue/glue/clients/util.py", line 235, in wrapper
FigureCanvasAgg.draw.execute_deferred_calls()
File "/Users/adam/repos/glue/glue/clients/util.py", line 213, in execute_deferred_calls
self.method(instance, *args, **kwargs)
File "/Users/adam/anaconda/envs/astropy27/lib/python2.7/site-packages/matplotlib/backends/backend_agg.py", line 461, in draw
self.figure.draw(self.renderer)
File "/Users/adam/anaconda/envs/astropy27/lib/python2.7/site-packages/matplotlib/artist.py", line 59, in draw_wrapper
draw(artist, renderer, *args, **kwargs)
File "/Users/adam/anaconda/envs/astropy27/lib/python2.7/site-packages/matplotlib/figure.py", line 1079, in draw
func(*args)
File "/Users/adam/repos/glue/glue/external/wcsaxes/core.py", line 118, in draw
ticklabels_bbox=self._ticklabels_bbox)
File "/Users/adam/repos/glue/glue/external/wcsaxes/coordinate_helpers.py", line 347, in _draw
self._update_ticks(renderer)
File "/Users/adam/repos/glue/glue/external/wcsaxes/coordinate_helpers.py", line 481, in _update_ticks
text = self._formatter_locator.formatter(self.lbl_world * tick_world_coordinates.unit, spacing=spacing)
File "/Users/adam/repos/glue/glue/external/wcsaxes/formatter_locator.py", line 286, in formatter
precision = -int(np.floor(np.log10(spacing.value)))
AttributeError: 'float' object has no attribute 'value'
I don't know why there is a missing unit; the header is normal. BUNIT won't parse, but I don't think this has anything to do with that. Here's the header:
I was looking at an ALMA data cube:
I don't know why there is a missing unit; the header is normal. BUNIT won't parse, but I don't think this has anything to do with that. Here's the header: