We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dccf354 commit 6afe400Copy full SHA for 6afe400
astrowidgets/bqplot.py
@@ -487,7 +487,7 @@ def _update_viewer_zoom_scroll(self, change):
487
# Methods for loading data
488
def load_fits(self, file_name_or_HDU):
489
if isinstance(file_name_or_HDU, str):
490
- ccd = CCDData.read(file)
+ ccd = CCDData.read(file_name_or_HDU)
491
elif isinstance(file_name_or_HDU,
492
(fits.ImageHDU, fits.CompImageHDU, fits.PrimaryHDU)):
493
try:
0 commit comments